forked from rdkmaster/jigsaw
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
45 lines (35 loc) · 996 Bytes
/
.travis.yml
File metadata and controls
45 lines (35 loc) · 996 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
44
45
language: node_js
node_js:
- "6"
branches:
only:
- master
env:
global:
- SAUCE_USERNAME=oicqcx
- SAUCE_ACCESS_KEY=36eb7e40-8a38-4824-8cc0-0e5c102eaf44
- BROWSER_PROVIDER_READY_FILE=/tmp/sauce-connect-ready
- LOGS_DIR=/tmp/logs
- SEED_DIR=`pwd`/../jigsaw-seed
before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sleep 3 # give xvfb some time to start
install:
- npm install
before_script:
- mkdir -p $LOGS_DIR
- chmod a+x ./build/scripts/sauce_connect_setup.sh
- ./build/scripts/sauce_connect_setup.sh
script:
- gulp jigsaw:build-release:clean
- ng test --code-coverage --watch false
- cat ./coverage/lcov.info | ./node_modules/.bin/coveralls
- sh build/scripts/integrate-with-seed.sh
- sh ./build/scripts/sauce_connect_block.sh
- cd $SEED_DIR # run e2e in seed directory
- ng build --prod
- ng e2e
after_script:
- sh ./build/scripts/sauce_connect_teardown.sh
sudo: false