File tree Expand file tree Collapse file tree 1 file changed +66
-2
lines changed
Expand file tree Collapse file tree 1 file changed +66
-2
lines changed Original file line number Diff line number Diff line change @@ -2,5 +2,69 @@ language: node_js
22node_js :
33 - 7
44 - 6
5- - 4
6- after_script : ' cat ./coverage/lcov.info | coveralls'
5+
6+ addons :
7+ apt :
8+ sources :
9+ - google-chrome
10+ packages :
11+ - google-chrome-stable
12+
13+ cache :
14+ directories :
15+ - node_modules
16+
17+ before_install :
18+ - npm install npm@5 -g
19+ - npm cache verify
20+ - npm prune
21+ - npm update
22+
23+ install :
24+ - npm install
25+
26+ after_install :
27+ - echo "echoing in after_install steps"
28+
29+
30+ before_script :
31+ - npm rebuild node-sass
32+ - export DISPLAY=:99.0
33+ - sh -e /etc/init.d/xvfb start
34+ - sleep 3
35+
36+ script :
37+ - npm run test
38+
39+ after_success :
40+ - echo 'please write auto merge script here'
41+
42+ env :
43+ global :
44+ - secure : cjSbs+51rGnIQeUV/2ekYdZ3uC+k25i5gQittuULyzJrgXMMmBl1p0T1bbC6f2xVBjKmPb09iO7jRK9wAKheD2DXI+boOXk6kppUrVRsKLGqUMVCweAa9wsdi4u8JoW9mGqJCypl0y5T/b7iJYGvHCJLadsET9mvyYCNHM63GRM=
45+ - secure : R3O/O5BskbWFSqSN9G1x1EDo83MHiyLue0GVMf5cCV+eiJHkag0A7cxYVGpoWzTx+t1UArMIpGLSzuIMiBpnLsR0vjm3R8UWhYM1ruqJCqdDP1bmJ7uYKGlJau2xHG86fc+190ChSY1l5ipjyui60564Yp02scePbX1aXbQXGbY=
46+
47+
48+ after_failure :
49+ - echo "echoing in after_failure steps"
50+
51+ after_script :
52+ - echo "echoing in after_script steps and will public coverage to coveralls"
53+ - ' cat ./coverage/lcov.info | coveralls'
54+
55+
56+ before_deploy :
57+ - test $TRAVIS_TEST_RESULT = 0 \# check that build passed successfully
58+ && cd $TRAVIS_BUILD_DIR \
59+ && tar -zcvf amber-storm-$TRAVIS_BRANCH.tar.gz dist
60+
61+ deploy :
62+ provider : releases
63+ api_key :
64+ secure : securekeyhere
65+ file : myrepo-$TRAVIS_BRANCH.tar.gz
66+ skip_cleanup : true
67+ on :
68+ condition : $PRODBUILDCOMPLETE = true
69+ all_branches : true
70+ tags : true
You can’t perform that action at this time.
0 commit comments