forked from rdkmaster/jigsaw
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
53 lines (43 loc) · 1.34 KB
/
.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
48
49
50
51
52
53
language: node_js
node_js:
- "10"
branches:
- master
- v1.1
- v5.0
env:
global:
- SAUCE_USERNAME=pkozlowski
- SAUCE_ACCESS_KEY=173aa66e-43e6-4e34-b873-9cb037b8ae5c
- BROWSER_PROVIDER_READY_FILE=/tmp/sauce-connect-ready
- LOGS_DIR=/tmp/logs
- SEED_DIR=`pwd`/../jigsaw-seed
before_install:
- # export DISPLAY=:99.0
- # sh /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:
- node build/scripts/make-demo-independent.js
- gulp ensure-url-matches-path
- gulp generate-demo-info
- gulp build:jigsaw
- #gulp build:jigsaw-mobile-library
- ng test jigsaw --code-coverage false --watch false
- # cat ./coverage/lcov.info | ./node_modules/.bin/coveralls
- sh build/scripts/doc-generator/generate.sh ./temp/doc/
- sh build/scripts/build-tourist.sh
- sh build/scripts/integrate-with-seed.sh
- # sh build/scripts/sauce_connect_block.sh
- cd $SEED_DIR # run e2e in seed directory
- travis_wait 30 node --max_old_space_size=8192 node_modules/@angular/cli/bin/ng build --prod --aot
- #ng e2e
after_script:
- # sh ./build/scripts/sauce_connect_teardown.sh
sudo: false
dist: xenial