We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6566097 commit 46552ffCopy full SHA for 46552ff
.travis.yml
@@ -28,6 +28,7 @@ script:
28
- yarn lint:scss
29
- COVERAGE=true yarn test
30
- ROOT_URL=open-event-frontend ember build -prod
31
+ - bash scripts/test_fastboot.sh
32
33
after_success:
34
- 'bash <(curl -s https://codecov.io/bash)'
scripts/test_fastboot.sh
@@ -0,0 +1,9 @@
1
+#!/bin/bash
2
+
3
+node ./scripts/fastboot-server.js &
4
+sleep 5
5
+FASTBOOT_PID=$!
6
+STATUS_CODE=$(curl -s -o /dev/null -w "%{http_code}" http://localhost:4000/)
7
+kill -9 $FASTBOOT_PID
8
9
+[ 200 = $STATUS_CODE ]
0 commit comments