File tree Expand file tree Collapse file tree 1 file changed +16
-9
lines changed Expand file tree Collapse file tree 1 file changed +16
-9
lines changed Original file line number Diff line number Diff line change 1
-
2
1
language : java
3
2
sudo : false
4
-
5
- before_install :
6
- - pip install --user virtualenv
7
- - export PATH=$PATH:$HOME/.local/bin
8
-
9
3
script :
10
4
- ./go clean build
11
- - " export PY_FILES_CHANGED=`git diff --name-only $TRAVIS_COMMIT_RANGE | grep ^py/`"
12
- - " if [[ $PY_FILES_CHANGED == py/* ]]; then ./go py_prep_for_install_release; ./go //py:phantomjs_test:run; else echo no python files changed skipping python test suite; fi"
13
-
5
+ - |
6
+ export PY_FILES_CHANGED=`git diff --name-only $TRAVIS_COMMIT_RANGE | grep ^py/`
7
+ if [[ $PY_FILES_CHANGED == py/* ]]; then
8
+ pip install --user virtualenv
9
+ export PATH=$PATH:$HOME/.local/bin
10
+ ./go py_prep_for_install_release //py:phantomjs_test:run
11
+ else
12
+ echo 'no Python files changed - skipping Python test suite'
13
+ fi
14
+ - |
15
+ export RB_FILES_CHANGED=`git diff --name-only $TRAVIS_COMMIT_RANGE | grep ^rb/`
16
+ if [[ $RB_FILES_CHANGED == rb/* ]]; then
17
+ ./go //rb:unit-test //rb:phantomjs-test
18
+ else
19
+ echo 'no Ruby files changed - skipping Ruby test suite'
20
+ fi
You can’t perform that action at this time.
0 commit comments