Skip to content

Commit ac3dbac

Browse files
authored
Start the server in the travis script
1 parent c8507b3 commit ac3dbac

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,15 @@ script:
2323
- yarn lint
2424
- yarn test:ci
2525
- yarn build
26+
- yarn start
2627

2728
after_script:
2829
- greenkeeper-lockfile-upload
2930
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
3031

32+
before_deploy:
33+
- yarn add now
34+
3135
deploy:
3236
- provider: script
3337
script: echo 'No build on feature branches. Now deploys static exports automatically.'
@@ -36,7 +40,7 @@ deploy:
3640
all_branches: true
3741
master: false
3842
- provider: script
39-
script: yarn add now && yarn start && now --local-config=./now.master.json --token $NOW_TOKEN
43+
script: now --local-config=./now.master.json --token $NOW_TOKEN && now alias --local-config=./now.master.json --token $NOW_TOKEN
4044
skip_cleanup: true
4145
on:
4246
master: true

0 commit comments

Comments
 (0)