Skip to content

Commit a591f9c

Browse files
committed
Enabling integration test (nodes_sync)
1 parent a03c5bc commit a591f9c

File tree

3 files changed

+23
-6
lines changed

3 files changed

+23
-6
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "tests_integration"]
2+
path = tests_integration
3+
url = https://github.com/theQRL/integration_tests

.travis.yml

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
11
sudo: required
22
dist: trusty
33
services: docker
4-
language: cpp
5-
python:
6-
- '3.5'
4+
language: python
5+
python: 3.5
76
cache:
87
timeout: 600
98

109
cache:
1110
directories:
1211
- $HOME/Library/Caches/Homebrew
1312

14-
virtualenv:
15-
system_site_packages: true
16-
1713
jobs:
1814
include:
1915
- stage: build+test
@@ -22,11 +18,28 @@ jobs:
2218
- TEST='TRUE'
2319
- PLATFORM='xenial'
2420
- CODACY_PROJECT_TOKEN=$CODACY_PROJECT_TOKEN
21+
install:
22+
- python --version
23+
- echo "Skip installing requirements.txt when running integration tests"
2524
script:
2625
- "./travis/build.sh"
2726
- sudo pip install -U coverage codacy-coverage
2827
- if [[ "$TRAVIS_BRANCH" == "master" ]]; then python-codacy-coverage -r coverage.xml || echo "failed"; fi
2928

29+
- stage: build+test
30+
os: linux
31+
env:
32+
- INTEGRATION_TESTINPLACE='TRUE'
33+
- PLATFORM='xenial'
34+
install:
35+
- python --version
36+
- echo "Skip installing requirements.txt when running integration tests"
37+
script:
38+
- sudo pip install -U docker-compose
39+
- docker-compose --version
40+
- "cd tests_integration; python3 runtest_nodes_synchronize.py"
41+
42+
3043
# - stage: build+test
3144
# os: linux
3245
# env:

tests_integration

Submodule tests_integration added at ec4bca8

0 commit comments

Comments
 (0)