File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,25 +11,28 @@ cache:
1111install :
1212 - npm install
1313
14- before_script :
15- - npm install codecov
16- script :
17- - npm run test:cover
18- after_script :
19- - codecov --token=$CODECOV_TOKEN
14+ install :
15+ - npm install
2016
17+ jobs :
18+ include :
2119
22- before_deploy :
23- - npm run client:build
24- deploy :
25- provider : pages
26- skip_cleanup : true
27- github_token : ${GH_TOKEN} # Set in travis-ci.org dashboard
28- local_dir : public
29- target-branch : master
30- repo : $GH_REF
20+ - stage : Unit testing
21+ before_script : npm install codecov
22+ script : npm test:cover
23+ after_script : codecov --token=$CODECOV_TOKEN
3124
32- env :
33- global :
34- - GH_REF=telescopejs/telescopejs.github.io
25+ - stage : E2E testing
26+ script : npm run test:cy:ci $CYPRESS_RECORD_KEY
3527
28+ - stage : deploy
29+ script : npm run client:build
30+ node_js : stable
31+ deploy :
32+ provider : pages
33+ skip_cleanup : true
34+ github_token : ${GH_TOKEN} # Set in travis-ci.org dashboard
35+ local_dir : public
36+ target-branch : master
37+ repo : $GH_REF
38+ env : GH_REF=telescopejs/telescopejs.github.io
You can’t perform that action at this time.
0 commit comments