Skip to content
Snippets Groups Projects
Commit a235d030 authored by Adam J. Stewart's avatar Adam J. Stewart
Browse files

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.
parent 7f9d098c
No related branches found
No related tags found
No related merge requests found
...@@ -14,14 +14,11 @@ matrix: ...@@ -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: ...@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment