-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy path.travis.yml
68 lines (56 loc) · 1.45 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
os:
- linux
- osx
dist: xenial
# Workaround for Chrome sandboxing issue (https://github.com/travis-ci/travis-ci/issues/8836)
sudo: required
services:
- docker
- xvfb
language: node_js
node_js:
- "10.13"
addons:
chrome: stable
env:
matrix:
- MODE=tests-default
- MODE=tests-chrome
- MODE=tests-firefox
- MODE=tests-safari
- MODE=lint-docs
matrix:
exclude:
- os: linux
env: MODE=tests-safari
- os: osx
env: MODE=lint-docs
- os: osx
env: MODE=tests-default
- os: osx
env: MODE=tests-chrome
- os: osx
env: MODE=tests-firefox
allow_failures:
# https://github.com/iov-one/iov-core/issues/760
- os: linux
env: MODE=tests-firefox
# Override default install step
install:
- true
before_script:
# Make variables and function from Travis available in our script
# See implementation https://github.com/travis-ci/travis-build/blob/4041ba116ddb3bdfd66ab8acbb7094dee28d6797/lib/travis/build/templates/header.sh
# and http://www.garbers.co.za/2017/11/01/code-folding-and-timing-in-travis-ci/
- export ANSI_CLEAR
- export -f travis_nanoseconds travis_fold travis_time_start travis_time_finish
script:
- ./scripts/travis/main.sh
# whitelist long living branches to avoid testing feature branches twice (as branch and as pull request)
branches:
only:
- master
# Minor version branches: 0.9, 0.10, 1.2 etc.
- /^[0-9]+\.[0-9]+$/
notifications:
email: false