forked from AdaptiveConsulting/ReactiveTraderCloud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
24 lines (20 loc) · 788 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
sudo: required
services:
- docker
cache:
directories:
- deploy/docker/build/servers/dnxcache
- deploy/docker/build/web/.npm
before_script:
- TRAVIS_BUILD_NUMBER=$(($TRAVIS_BUILD_NUMBER+650)) # adjust build number to match CircleCi
- docker info
- cd deploy/e2e
- chmod 755 ensurePermissions
- ./ensurePermissions
- ./buildContainers $TRAVIS_BUILD_NUMBER
- ./runContainers $TRAVIS_BUILD_NUMBER
- cd ../..
script:
- docker ps
- for i in {1..10}; do curl http://localhost:2113/web/index.html && break; sleep 1; if [[ $i == 10 ]];then false;fi; done
- . ./deploy/config && docker run -a STDOUT --net=host $serversContainer.$TRAVIS_BUILD_NUMBER bash -c "dnx --configuration Release -p Adaptive.ReactiveTrader.Server.IntegrationTests test -parallel none"