forked from blackbaud/skyux-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (27 loc) · 828 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
language: node_js
sudo: required
dist: trusty
addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
branches:
only:
- master
- /^rc-.*$/
- /^[0-9]+\.[0-9]+\.[0-9]+.*/
before_install:
- sudo cp ./ssl/skyux-ca.crt /usr/local/share/ca-certificates/skyux-ca.crt
- sudo update-ca-certificates
before_script:
- "export CHROME_BIN=chromium-browser"
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
after_success:
- bash <(curl -s https://codecov.io/bash) -s coverage/builder -F builder
- bash <(curl -s https://codecov.io/bash) -s coverage/runtime/ -F runtime
- bash <(curl -s https://codecov.io/bash) -s coverage/src-app/ -F srcapp
- bash <(curl -s https://blackbaud.github.io/skyux-travis/after-success.sh)