forked from date-fns/date-fns
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
44 lines (35 loc) · 853 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
33
34
35
36
37
38
39
40
41
42
43
44
sudo: false
dist: trusty
language: node_js
node_js:
- 6
env:
- TEST_SUITE=main
- TEST_SUITE=tz TZ_LENGTH=2 TZ_INDEX=0
- TEST_SUITE=tz TZ_LENGTH=2 TZ_INDEX=1
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
branches:
only:
- master
- v2
- "/v\\d+\\.\\d+\\.\\d+(-\\w+)?/"
script:
- ./scripts/test/travis.sh
before_deploy:
- ./scripts/release/writeVersion.js
- ./scripts/release/updateFirebase.js
deploy:
provider: npm
email: [email protected]
api_key:
secure: Hi4MUZhrvibLGzgvzf7usaWBKmQSfl0p8bQEb+qT0HyAe4zbF9T/vDrRDvF/BVao0/XHTUTG0Q/+TYntm0Q8SJeUagmhoxRmvYGQEcGVPtKzkfzIohiMRGUo5BxQpHGFGs4r6O77Bsgti4uoUziBU6Ldw2qSb9QUi5PX3VT06eY=
on:
tags: true
after_deploy:
- ./scripts/release/tweet.js
cache: yarn
addons:
sauce_connect: true