Skip to content

Commit

Permalink
FIX travis deploy.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarah Mount committed Aug 1, 2016
1 parent 0a91990 commit 5c5310f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
9 changes: 3 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,9 @@ 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
- ${HOME}/pypy/rpython/bin/rpython --no-pdb --opt=jit revelation/sim.py
- ${HOME}/pypy/rpython/bin/rpython --no-pdb --opt=jit revelation/sim.py --debug
- ${HOME}/pypy/rpython/bin/rpython --no-pdb -O2 revelation/sim.py
- 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 5c5310f

Please sign in to comment.