Skip to content

Commit

Permalink
Trying to fix travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
jchodera committed Aug 10, 2015
1 parent 1e2b4c2 commit ae01e5a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 15 deletions.
29 changes: 17 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,28 +16,33 @@ branches:
only:
- master

install:
- source devtools/travis-ci/install.sh
- export PYTHONUNBUFFERED=true
- export CC=gcc
- export CXX=g++

script:
- conda config --add channels https://conda.binstar.org/omnia
- conda build devtools/conda-recipe
- source devtools/travis-ci/test.sh

env:
global:
# KEY_MODELLER for testing with modeller package
secure: "IBRn//ZkrK6jRbt0sEsKKy3v95HNhejs7mYCqPRhAG/w2fRWaPIuKrR7VWbC3D1kIU7wCbUPkQNefB2CIPxiFA+rzJt1WTok4cNy4U4XhRpTXk4lm72u4+X1H1PSsJIOKd7PHxAv4bK9va2tsdt5WXViqx+/FgC61ZgnEvL/FOk="
secure: "M6Qw8y6+Q05+ciQ/JGxhO/3jmc/qtywy2xE4nGBIpDDMZ1FJH17tN1YVMMXM8Ld2DIFb/4CMGHKi03URfxdve9Q8QT9AMo+nffvHqrQizyX26ao3eAo61p0r0s7qLtAwymx2PoRvZxOOvZHpq11VN0gMeCynU4OPCf4nWZ9BbgE="
# BINSTAR_TOKEN
secure: "KpipUgZIm+dJX9o+qMj237URs2M7FAm/hcl03mM/dcrNktf4k4w2fajTAdrx2Qk68eigQhg+oZZOCvX3eE+eFuUzBPFZfH2G+JaQBG4KDNwO83WYCL+tYDRf1Prlm7p4yYtGUpac2Um3RCBP6+sEE5R+UxQX0KdPoIH4nYfQ5j0="
matrix:
- python=2.7 CONDA_PY=27
# - python=3.3 CONDA_PY=33
# - python=3.4 CONDA_PY=34

install:
- source devtools/travis-ci/install.sh
- export PYTHONUNBUFFERED=true
- export CC=gcc
- export CXX=g++

script:
- conda config --add channels https://conda.binstar.org/omnia
- conda build devtools/conda-recipe
- conda install --yes --use-local ensembler-dev
# - source devtools/travis-ci/test.sh
- conda install --yes nose
- pushd .; cd /
- nosetests ensembler -v --exe -a modeller
- popd

after_success:
- echo "after_success"
- source devtools/travis-ci/after_success.sh
4 changes: 1 addition & 3 deletions devtools/travis-ci/test.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# This runs unit tests

if [[ "$TRAVIS_PULL_REQUEST" == "false" ]]
then
conda install --yes --use-local ensembler-dev
if [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then
conda install --yes nose
pushd .; cd /
nosetests ensembler -v --exe -a modeller
Expand Down

0 comments on commit ae01e5a

Please sign in to comment.