Merge branch 'DamienCassou-simplify-travis'

master
Elis Hirwing 9 years ago
commit ac2470159c
No known key found for this signature in database
GPG Key ID: D57EFA625C9A925F
  1. 16
      .travis.yml

@ -8,7 +8,6 @@ matrix:
- env: INTEGRATION=yes - env: INTEGRATION=yes
env: env:
- EVM_EMACS=emacs-24.3-travis
- EVM_EMACS=emacs-24.4-travis - EVM_EMACS=emacs-24.4-travis
- EVM_EMACS=emacs-24.5-travis - EVM_EMACS=emacs-24.5-travis
- EVM_EMACS=emacs-25.1-travis - EVM_EMACS=emacs-25.1-travis
@ -20,21 +19,18 @@ env:
before_install: before_install:
# Get install script # Get install script
- curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw > travis.sh && source ./travis.sh - curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw > travis.sh && source ./travis.sh
# Fix cask (See https://github.com/cask/cask/issues/399#issuecomment-331640427)
# Install the emacs version that cask needs to have installed - perl -ibak -lape 's{#!/usr/bin/env python}{#!/usr/bin/python}' "$(which cask)"
- evm install emacs-24.4-travis --use --skip - emacs --version
install: install:
# If we're running unit-tests, install the emacs version that we're testing today. Otherwise go with 25.3 for integration tests # If we're running unit-tests, install the emacs version that we're testing today. Otherwise go with 25.3 for integration tests
- test -n "$EVM_EMACS" && evm install $EVM_EMACS --use --skip || evm install emacs-25.3-travis --use --skip - test -n "$EVM_EMACS" && evm install $EVM_EMACS --use --skip || evm install emacs-25.3-travis --use --skip
# Install your dependencies # Install your dependencies
- EMACS="/home/travis/.evm/bin/emacs" cask install - cask install
script: script:
# Print travis event type (might be cron or something else)
- emacs --version
# Run tests # Run tests
- test -n "$EVM_EMACS" && env CASK='EMACS=/home/travis/.evm/bin/emacs cask' make test || true - test -n "$EVM_EMACS" && make test || true
- test -n "$INTEGRATION" && env CASK='EMACS=/home/travis/.evm/bin/emacs cask' make integration || true - test -n "$INTEGRATION" && make integration || true

Loading…
Cancel
Save