-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.travis.yml
32 lines (28 loc) · 915 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
32
# Run //gpu/cldrive/... test suite using phd_build docker image.
language: generic
services:
- docker
install:
- docker pull chriscummins/phd_build:latest
- chmod -R 777 $TRAVIS_BUILD_DIR
script:
- >
docker run \
-u root \
-v$TRAVIS_BUILD_DIR:/phd \
-v/var/run/docker.sock:/var/run/docker.sock \
-v$HOME/.cache/bazel/_bazel_docker:/home/docker/.cache/bazel/_bazel_docker \
chriscummins/phd_build:latest \
-c "./tools/flaky_bazel.sh run --config=travis //tools:whoami"
- >
docker run \
-u root \
-v$TRAVIS_BUILD_DIR:/phd \
-v/var/run/docker.sock:/var/run/docker.sock \
-v$HOME/.cache/bazel/_bazel_docker:/home/docker/.cache/bazel/_bazel_docker \
chriscummins/phd_build:latest \
-c "./tools/flaky_bazel.sh test //gpu/cldrive/..."
notifications:
email:
on_success: never
on_failure: change