File tree Expand file tree Collapse file tree 1 file changed +38
-38
lines changed
Expand file tree Collapse file tree 1 file changed +38
-38
lines changed Original file line number Diff line number Diff line change 1- defaults : &defaults
2- machine : true
3- working_directory : ~/gas-github
1+ defaults : &defaults
2+ machine : true
3+ working_directory : ~/gas-github
44
5- version : 2
6- jobs :
7- build-and-test :
8- << : *defaults
9- steps :
10- - checkout
11- - run : source $NVM_DIR/nvm.sh && nvm install 6.1.0
12- - run : source $NVM_DIR/nvm.sh && nvm use 6.1.0
13- - run : npm install --dev
14- - run : bundle install
15- - run : danger
5+ version : 2
6+ jobs :
7+ build-and-test :
8+ << : *defaults
9+ steps :
10+ - checkout
11+ - run : source $NVM_DIR/nvm.sh && nvm install 6.1.0
12+ - run : source $NVM_DIR/nvm.sh && nvm use 6.1.0
13+ - run : npm install --dev
14+ - run : bundle install
15+ - run : danger
1616
17- deploy-to-production :
18- << : *defaults
19- steps :
20- - checkout
21- - run : zip -r gas-github.zip . -x '\.*' -x 'Dangerfile' -x 'Gemfile*'
22- - store_artifacts :
23- path : ./gas-github.zip
17+ deploy-to-production :
18+ << : *defaults
19+ steps :
20+ - checkout
21+ - run : zip -r gas-github.zip . -x '\.*' -x 'Dangerfile' -x 'Gemfile*'
22+ - store_artifacts :
23+ path : ./gas-github.zip
2424
25- workflows :
26- version : 2
27- build-test :
28- jobs :
29- - build-and-test
25+ workflows :
26+ version : 2
27+ build-test :
28+ jobs :
29+ - build-and-test
3030
31- build-test-deploy :
32- jobs :
33- - build-and-test :
34- filters :
35- branches :
36- only : master
37- - deploy-to-production :
38- requires :
39- - build-and-test
40- filters :
41- branches :
42- only : master
31+ build-test-deploy :
32+ jobs :
33+ - build-and-test :
34+ filters :
35+ branches :
36+ only : master
37+ - deploy-to-production :
38+ requires :
39+ - build-and-test
40+ filters :
41+ branches :
42+ only : master
You can’t perform that action at this time.
0 commit comments