forked from date-fns/date-fns
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
43 lines (35 loc) · 707 Bytes
/
.travis.yml
File metadata and controls
43 lines (35 loc) · 707 Bytes
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
sudo: false
dist: trusty
language: node_js
node_js:
- 10
stages:
- test
- deploy
env:
- TEST_SUITE=main
- TEST_SUITE=tz TZ_LENGTH=2 TZ_INDEX=0
- TEST_SUITE=tz TZ_LENGTH=2 TZ_INDEX=1
- TEST_SUITE=node
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- npm install -g yarn
branches:
only:
- master
- "/v\\d+\\.\\d+\\.\\d+(-\\w+)?/"
script:
- ./scripts/test/travis.sh
jobs:
include:
- stage: deploy
if: tag IS present
script: ./scripts/release/release.sh
- stage: Coverage report
script: ./scripts/test/coverageReport.sh
cache: yarn
addons:
chrome: stable
# sauce_connect: true