forked from onnxbot/onnx-fb-universe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
45 lines (36 loc) · 1.1 KB
/
.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
33
34
35
36
37
38
39
40
41
42
43
44
45
os: linux
dist: trusty
sudo: required
language: python
python:
- "2.7"
- "3.6"
before_install:
- ./travis/before_install.sh
install:
- ./travis/install.sh
script:
- ./travis/script.sh
after_success:
- ./travis/after_success.sh
after_failure:
- ./travis/after_failure.sh
cache:
- directories:
- $HOME/.cache/pb
- $HOME/.ccache
# We don't want to trigger travis builds for auto PR because there are
# too many of them and they are updated very frequently. travis can
# barely catchup and so causing the build status of these PRs always
# being shown as pending.
# For each PR, travis triggers two builds, one is "branch updates"
# which uses the commit in the PR branch, another one is "pull request
# updates" which uses the merge commit that merges the PR branch into
# master branch. The following branches filter will only be able to
# disable builds of "branch updates", but not the "pull request
# updates", because the latter has branch name "master". To achieve
# that, we have turned off "Build pull request updates" option in the
# travis website.
branches:
except:
- /^auto-.*$/