forked from T-NOVA/TeNOR
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
59 lines (58 loc) · 1.92 KB
/
.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
language: ruby
rvm:
- 2.3.1
#cache: bundler
services: mongodb
install:
# - ./dependencies/install_dependencies.sh n y n n
- ./tenor_install.sh 2 localhost
# - cd ns-manager && bundle install --gemfile=Gemfile && cd ../
#env:
# - TEST_DIR=ns-manager
# - TEST_DIR=ns-catalogue
# - TEST_DIR=vnf-catalogue
# - TEST_DIR=.
script:
- cd ns-manager && BUNDLE_GEMFILE=$TRAVIS_BUILD_DIR/ns-manager/Gemfile && bundle update --quiet
- rspec
- rake db:seed
- rake start &
- cd $TRAVIS_BUILD_DIR
- cd ns-catalogue && BUNDLE_GEMFILE=$TRAVIS_BUILD_DIR/ns-catalogue/Gemfile && bundle update --quiet
- rspec
- rake start &
- cd $TRAVIS_BUILD_DIR
- cd nsd-validator && BUNDLE_GEMFILE=$TRAVIS_BUILD_DIR/nsd-validator/Gemfile && bundle update --quiet
- rspec
- rake start &
- cd $TRAVIS_BUILD_DIR
- cd ns-provisioning && BUNDLE_GEMFILE=$TRAVIS_BUILD_DIR/ns-provisioning/Gemfile && bundle update --quiet
- rspec
- rake start &
- cd $TRAVIS_BUILD_DIR
- cd vnf-manager && BUNDLE_GEMFILE=$TRAVIS_BUILD_DIR/vnf-manager/Gemfile && bundle update --quiet
- rspec
- rake start &
- cd $TRAVIS_BUILD_DIR
- cd vnf-catalogue && BUNDLE_GEMFILE=$TRAVIS_BUILD_DIR/vnf-catalogue/Gemfile && bundle update --quiet
- rspec
- rake start &
- cd $TRAVIS_BUILD_DIR
- cd vnfd-validator && BUNDLE_GEMFILE=$TRAVIS_BUILD_DIR/vnfd-validator/Gemfile && bundle update --quiet
- rspec
- rake start &
- cd $TRAVIS_BUILD_DIR
- cd vnf-provisioning && BUNDLE_GEMFILE=$TRAVIS_BUILD_DIR/vnf-provisioning/Gemfile && bundle update --quiet
- rspec
- rake start &
- cd $TRAVIS_BUILD_DIR
- cd hot-generator && BUNDLE_GEMFILE=$TRAVIS_BUILD_DIR/hot-generator/Gemfile && bundle update --quiet
- rspec
- rake start &
- cd $TRAVIS_BUILD_DIR
- sleep 30
- curl localhost:4000/
- curl localhost:4000/network-services
- curl localhost:4569/vnfs
- cd $TRAVIS_BUILD_DIR && BUNDLE_GEMFILE=$TRAVIS_BUILD_DIR/Gemfile && bundle update --quiet
- rspec