forked from vmware-archive/clarity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (41 loc) · 923 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
45
46
47
language: node_js
node_js:
- "7.0"
env:
global:
- CXX=g++-4.8
matrix:
- TEST_SUITE='test'
- TEST_SUITE='css:test --set set1'
- TEST_SUITE='css:test --set set2'
- TEST_SUITE='css:test --set set3'
- TEST_SUITE='css:test --set set4'
sudo: required
dist: trusty
group: edge
services:
- docker
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- google-chrome
packages:
- g++-4.8
- google-chrome-stable
artifacts:
paths:
- $TRAVIS_BUILD_DIR/gemini-report/
cache:
apt: true
yarn: true
directories:
- node_modules
before_install:
before_script:
- npm install -g gemini
- npm install -g html-reporter
- docker run -d -p 4444:4444 selenium/standalone-chrome@sha256:b899f16b6d963600ef6da8a8dd49e311146033ed66cb5af71eccb78ab378e19a
- sleep 5
script:
- gulp $TEST_SUITE # run unit test, css regression, and css reference in parallel