forked from SeleniumHQ/selenium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
16 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,20 @@ | ||
|
||
language: java | ||
sudo: false | ||
|
||
before_install: | ||
- pip install --user virtualenv | ||
- export PATH=$PATH:$HOME/.local/bin | ||
|
||
script: | ||
- ./go clean build | ||
- "export PY_FILES_CHANGED=`git diff --name-only $TRAVIS_COMMIT_RANGE | grep ^py/`" | ||
- "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" | ||
|
||
- | | ||
export PY_FILES_CHANGED=`git diff --name-only $TRAVIS_COMMIT_RANGE | grep ^py/` | ||
if [[ $PY_FILES_CHANGED == py/* ]]; then | ||
pip install --user virtualenv | ||
export PATH=$PATH:$HOME/.local/bin | ||
./go py_prep_for_install_release //py:phantomjs_test:run | ||
else | ||
echo 'no Python files changed - skipping Python test suite' | ||
fi | ||
- | | ||
export RB_FILES_CHANGED=`git diff --name-only $TRAVIS_COMMIT_RANGE | grep ^rb/` | ||
if [[ $RB_FILES_CHANGED == rb/* ]]; then | ||
./go //rb:unit-test //rb:phantomjs-test | ||
else | ||
echo 'no Ruby files changed - skipping Ruby test suite' | ||
fi |