forked from SeleniumHQ/selenium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (29 loc) · 848 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
language: java
sudo: false
notifications:
email: false
irc:
channels:
- "chat.freenode.org#selenium"
on_success: never
on_failure: always
use_notice: true
skip_join: true
script:
- ./go clean build
- |
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