-
Notifications
You must be signed in to change notification settings - Fork 458
/
.travis.yml
30 lines (26 loc) · 1002 Bytes
/
.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
language: node_js
node_js:
- 12
cache:
directories:
- demo/template/node_modules
- demo/template/functions/node_modules
before_install:
- npx create-react-app demo-app --template rmw --use-npm
- rm -rf demo-app/continuous_deployment
- mkdir -p demo-app/continuous_deployment
- cp -R packages/rmw-shell/cra-template-rmw/template/continuous_deployment demo-app
- cd demo-app
- chmod +x ./continuous_deployment/before_install.sh
- ./continuous_deployment/before_install.sh
before_script:
- npm test --passWithNoTests
- chmod +x ./continuous_deployment/build.sh
- travis_wait 40 ./continuous_deployment/build.sh
script:
- chmod +x ./continuous_deployment/deploy_hosting.sh
- travis_wait 40 ./continuous_deployment/deploy_hosting.sh
- chmod +x ./continuous_deployment/deploy_functions.sh
- travis_wait 40 ./continuous_deployment/deploy_functions.sh
- chmod +x ./continuous_deployment/browser_stack.sh
- travis_wait 40 ./continuous_deployment/browser_stack.sh