diff options
author | Neil Okamoto <neil.okamoto@gmail.com> | 2017-12-14 22:42:33 -0800 |
---|---|---|
committer | Bozhidar Batsov <bozhidar.batsov@gmail.com> | 2017-12-15 06:42:33 +0000 |
commit | 0bd67b7f803d928ebe96795893e72d79e72c6eda (patch) | |
tree | 578d5d36106d7c8313579f5196462082a5958ee6 /.travis.yml | |
parent | d63a7dfeb1aa60fe08d52e1952c439f16f9ff607 (diff) |
[#2129] Мake evm and cask setup more reliable in travis (#2139)
Resolves [#2129] with new scripts to setup evm and cask in Travis builds.
These scripts improve on the prior process by adding error detection with
retries, such that network errors during this setup stage are less likely to
abort the build with mysterious errors.
In addition to the retry logic, we also cache the installations of evm and cask
such that the contents of those directories are restored across successful
builds. This eliminates the requirement to install evm and cask from scratch. It
is possible to force-delete these caches if needed.
The net result of all this is, most incremental builds need only attempt to
update evm and cask (essentially a git pull) and update any needed elisp
packages via cask update.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index b5d19d0c..ad31a0ad 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,7 +20,7 @@ cache: env: global: - - PATH=$HOME/local/bin:$PATH + - PATH=$HOME/local/bin:$HOME/local/evm/bin:$HOME/local/cask/bin:$PATH matrix: - EMACS_BINARY=emacs-24.4-travis MAKE_TEST=test - EMACS_BINARY=emacs-24.4-travis MAKE_TEST=test-bytecomp @@ -41,11 +41,11 @@ env: - EMACS_BINARY=emacs-git-snapshot-travis MAKE_TEST=test-checks before_script: - - sudo sh travis-ci/travis-gnutls.sh + - sh travis-ci/install-gnutls.sh - gnutls-cli -v - - curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw > x.sh && source ./x.sh + - sh travis-ci/install-evm.sh - evm install $EMACS_BINARY --use --skip - - make elpa + - sh travis-ci/install-cask.sh script: - emacs --version - make $MAKE_TEST |