Skip to content

Commit

Permalink
Merge pull request #41 from futurecore/fix-travis
Browse files Browse the repository at this point in the history
FIX travis deploy.
  • Loading branch information
snim2 committed Aug 1, 2016
2 parents 0a91990 + 10734b0 commit 4a7dd90
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,13 @@ script:
--cov=revelation revelation/test/
- python -m doctest scripts/diff_trace.py
- python -m doctest scripts/get_instructions_used.py
- PYTHONPATH=${HOME}/pydgin/:. ${HOME}/pypy/rpython/bin/rpython
--no-pdb --opt=jit revelation/sim.py
- PYTHONPATH=${HOME}/pydgin/:. ${HOME}/pypy/rpython/bin/rpython
--no-pdb --opt=jit revelation/sim.py --debug
- PYTHONPATH=${HOME}/pydgin/:. ${HOME}/pypy/rpython/bin/rpython
--no-pdb -O2 revelation/sim.py
- PYTHONPATH=${HOME}/pydgin/:. ${HOME}/pypy/rpython/bin/rpython --no-pdb --opt=jit revelation/sim.py
- if [ "${TRAVIS_PULL_REQUEST}" == "false" ] && [ "${TRAVIS_BRANCH}" == "master" ] ;
then PYTHONPATH=${HOME}/pydgin/:. ${HOME}/pypy/rpython/bin/rpython --no-pdb --opt=jit revelation/sim.py --debug ;
fi
- if [ "${TRAVIS_PULL_REQUEST}" == "false" ] && [ "${TRAVIS_BRANCH}" == "master" ] ;
then PYTHONPATH=${HOME}/pydgin/:. ${HOME}/pypy/rpython/bin/rpython --no-pdb -O2 revelation/sim.py ;
fi
- mkdir bin
- mv pydgin-revelation-* bin/
- echo "Translated Revelation binaries:" bin/*
Expand Down
2 changes: 1 addition & 1 deletion scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -ev

if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_BRANCH}" = "master" ] && [ `ls ${TRAVIS_BUILD_DIR}/bin/* 2>/dev/null | wc -l` = "2" ]; then
if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_BRANCH}" = "master" ] && [ `ls ${TRAVIS_BUILD_DIR}/bin/* 2>/dev/null | wc -l` = "3" ]; then
echo -e "Deploying to revelation-bins.\n"

# Configure git.
Expand Down

0 comments on commit 4a7dd90

Please sign in to comment.