Skip to content
This repository has been archived by the owner on Apr 19, 2022. It is now read-only.

Commit

Permalink
Merge pull request #156 from spotify/rav/fix_improve_test_build
Browse files Browse the repository at this point in the history
Fix tox.ini and improve travis conf file
  • Loading branch information
ravwojdyla committed Jun 4, 2015
2 parents aa7dff2 + 8979b26 commit c995cd5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,15 @@ language: python
python: 2.7
jdk: oraclejdk7
branches:
except:
- gh-pages
except:
- gh-pages
env:
- TOX_ENV=py26-cdh
- TOX_ENV=py27-cdh
- TOX_ENV=py26-hdp
- TOX_ENV=py27-hdp
install: pip install -r requirements-dev.txt
script: python setup.py test --tox-args="-e $TOX_ENV"
- TOX_ENV=py26-cdh
- TOX_ENV=py27-cdh
- TOX_ENV=py26-hdp
- TOX_ENV=py27-hdp
install:
- pip install tox
script:
- tox --version
- python setup.py test --tox-args="-e $TOX_ENV"
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ setenv =
cdh: HADOOP_HOME=/tmp/hadoop-cdh
hdp: HADOOP_DISTRO=hdp
hdp: HADOOP_HOME=/tmp/hadoop-hdp
passenv = USER JAVA_HOME
commands =
{toxinidir}/scripts/ci/setup_env.sh
{toxinidir}/scripts/ci/run_tests.sh []

0 comments on commit c995cd5

Please sign in to comment.