Skip to content

Commit

Permalink
[ci] only enable test for linux and osx
Browse files Browse the repository at this point in the history
  • Loading branch information
lotabout committed Jun 24, 2018
1 parent e9ebca0 commit 539ffd6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions ci/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ main() {
--target $target

# For test
case $TRAVIS_OS_NAME in
linux)
case $TARGET in
x86_64-unknown-linux-gnu|i686-unknown-linux-gnu)
sudo add-apt-repository -y ppa:jonathonf/python-3.6
sudo apt-get update
sudo apt-get -y install python3.6
Expand All @@ -54,7 +54,7 @@ main() {
sudo apt-get install -y zsh
stty cols 80
;;
osx)
x86_64-apple-darwin|i686-apple-darwin)
brew upgrade python
python -V
python3 -V
Expand Down
6 changes: 3 additions & 3 deletions ci/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ main() {

cargo test --verbose

case $TRAVIS_OS_NAME in
linux)
case $TARGET in
x86_64-unknown-linux-gnu|i686-unknown-linux-gnu)
# run the integration test
tmux new "python3.6 test/test_skim.py > out && touch ok" && cat out && [ -e ok ]
;;
osx)
x86_64-apple-darwin|i686-apple-darwin)
# run the integration test
tmux new "python3 test/test_skim.py > out && touch ok" && cat out && [ -e ok ]
;;
Expand Down

0 comments on commit 539ffd6

Please sign in to comment.