diff options
| author | Eivind Fonn <evfonn@gmail.com> | 2019-11-19 13:25:53 +0100 |
|---|---|---|
| committer | Eivind Fonn <evfonn@gmail.com> | 2019-11-19 14:38:01 +0100 |
| commit | 9cd4e348f84267b7f2ad1e5cea3ecd0a82a94774 (patch) | |
| tree | da8c1cefba117e15289ceaa24add2eaf965ab869 | |
| parent | bc6210f786866a56316784ea5b2066a2b428b41f (diff) | |
Travis: rewrite using purcell/nix-emacs-ci
Also wrap the 'make test' invocation within 'script', hiding all the
messy TTY output on the Travis logs.
| -rw-r--r-- | .travis.yml | 37 |
1 files changed, 16 insertions, 21 deletions
diff --git a/.travis.yml b/.travis.yml index 7f43330..8ed8c72 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,34 +1,29 @@ -language: generic -sudo: true +language: nix + +os: + - linux env: - global: - - CURL="curl -fsSkL --retry 9 --retry-delay 9" - matrix: - - EMACS_VERSION=24.5 - - EMACS_VERSION=25.3 - - EMACS_VERSION=26.3 - - EMACS_VERSION=master + - EMACS_CI=emacs-24-5 + - EMACS_CI=emacs-25-3 + - EMACS_CI=emacs-26-3 + - EMACS_CI=emacs-snapshot matrix: allow_failures: - - env: EMACS_VERSION=master - -before_install: - - sudo apt-get update - - sudo apt-get install -y aspell aspell-en # required for flyspell test + - env: EMACS_CI=emacs-snapshot install: - - $CURL -O https://github.com/npostavs/emacs-travis/releases/download/bins/emacs-bin-${EMACS_VERSION}.tar.gz - - tar -xaf emacs-bin-${EMACS_VERSION}.tar.gz -C / - - export EMACS=/tmp/emacs/bin/emacs + - bash <(curl https://raw.githubusercontent.com/purcell/nix-emacs-ci/master/travis-install) script: - - $EMACS --version - - emacs=$EMACS make test + - emacs --version + - script -eqc 'make test' > /dev/null + +after_script: + - cat test-results.txt notifications: email: - # Default is change, but that includes a new branch's 1st success. on_success: never - on_failure: never + on_failure: always |
