Fix typos and bugs in Travis config file

Forgot to change one of the TEST_TYPEs to TEST_SUITE.
-eq not working, trying == instead.
Cache doesn't seem to be working, removed.
This commit is contained in:
Adam J. Stewart 2016-08-23 11:51:44 -05:00
parent 7f9d098c2f
commit a235d030ac

View File

@ -14,14 +14,11 @@ matrix:
exclude: exclude:
- python: 2.6 - python: 2.6
# Flake8 no longer supports Python 2.6 # Flake8 no longer supports Python 2.6
env: TEST_TYPE=flake8 env: TEST_SUITE=flake8
# Use new Travis infrastructure (Docker can't sudo yet) # Use new Travis infrastructure (Docker can't sudo yet)
sudo: false sudo: false
# Cache dependencies
cache: pip
# Install various dependencies # Install various dependencies
install: install:
- pip install coveralls - pip install coveralls
@ -40,7 +37,7 @@ before_script:
script: share/spack/qa/run-$TEST_SUITE-tests script: share/spack/qa/run-$TEST_SUITE-tests
after_success: after_success:
- if [[ $TEST_SUITE == unit && $TRAVIS_PYTHON_VERSION -eq 2.7 ]]; then coveralls; fi - if [[ $TEST_SUITE == unit && $TRAVIS_PYTHON_VERSION == 2.7 ]]; then coveralls; fi
notifications: notifications:
email: email: