Skip to content

Commit

Permalink
[ci] fix script for osx
Browse files Browse the repository at this point in the history
use the correct python(3.6) to run the scripts
  • Loading branch information
lotabout committed Jun 3, 2018
1 parent dd63d8f commit 2f525c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ci/install.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

set -x

case $TRAVIS_OS_NAME in
linux)
sudo add-apt-repository -y ppa:jonathonf/python-3.6
Expand Down
2 changes: 1 addition & 1 deletion ci/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ main() {
;;
osx)
# run the integration test
tmux new "python test/test_skim.py > out && touch ok" && cat out && [ -e ok ]
tmux new "python3 test/test_skim.py > out && touch ok" && cat out && [ -e ok ]
;;
*)
;;
Expand Down

0 comments on commit 2f525c8

Please sign in to comment.