Skip to content

update travis setup #230

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 1, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 12 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
language: erlang
language: elixir
elixir: 1.0.5
otp_release:
- 17.1
- 18.0
cache: apt
env:
- EMACS=emacs24 EMACS_REPO=cassou/emacs TEST_RUN="rake test"
- EMACS=emacs-snapshot EMACS_REPO=ubuntu-elisp/ppa TEST_RUN="rake test-no-gui"
- EVM_EMACS=emacs-24.3-bin TEST_RUN="rake test"
- EVM_EMACS=emacs-24.4-bin TEST_RUN="rake test"
- EVM_EMACS=emacs-24.5-bin TEST_RUN="rake test-no-gui"
before_install:
- sudo add-apt-repository -y ppa:$EMACS_REPO
- sudo apt-get update
- sudo apt-get -y install $EMACS
- cd /tmp
- wget https://github.com/elixir-lang/elixir/releases/download/v1.0.0/Precompiled.zip
- unzip Precompiled.zip
- export PATH="$PWD/bin:$PATH"
- cd -
- curl -fsSkL https://raw.github.com/cask/cask/master/go | python
- export PATH="/home/travis/.cask/bin:$PATH"
- curl -fsSkL https://gist.githubusercontent.com/tonini/09a8bec7a0b2c219e0d7/raw > travis.sh && source ./travis.sh
- evm install $EVM_EMACS --use --skip
- cask
install:
- cask install
script:
- $TEST_RUN
2 changes: 2 additions & 0 deletions test/elixir-mode-font-test.el
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

;;; Code:

(require 'test-helper)

(defun elixir-test-face-at (pos &optional content)
"Get the face at POS in CONTENT.

Expand Down
2 changes: 2 additions & 0 deletions test/elixir-mode-indentation-test.el
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

;;; Code:

(require 'test-helper)

(elixir-def-indentation-test indent-use-dot-module-newline
(:tags '(indentation))
"defmodule Foo do
Expand Down