summaryrefslogtreecommitdiffhomepage
path: root/test/scenario_test/ci-scripts
diff options
context:
space:
mode:
authorIWASE Yusuke <iwase.yusuke0@gmail.com>2017-10-13 14:33:41 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-11-07 10:19:17 +0900
commit92793f371dbb0e48075287c39bdcf6ee74e85164 (patch)
tree40e7f61bd305ddd47d78ba067338ee18d62ada4a /test/scenario_test/ci-scripts
parenta5715a7bc3c4c73a6f4d3a91980bbfe681969b94 (diff)
travis: Update .travis.yml
For scenario_test, Python build environment is more suitable rather than Go build environment, because scenario_test is written in Python and the building source codes will be done on Docker containers. This patch fixes scenario_test to use Python build environment and reduces "sudo" executions in order to use interpreter of virtualenv. Note: On Travis-Ci, the Python interpreter of sudoer is older version, and when install packages with "sudo pip", InsecurePlatformWarning will be displayed. So it is better to use the newer interpreter of virtualenv. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Diffstat (limited to 'test/scenario_test/ci-scripts')
-rwxr-xr-xtest/scenario_test/ci-scripts/travis-build-script.sh5
-rwxr-xr-xtest/scenario_test/ci-scripts/travis-install-script.sh7
2 files changed, 0 insertions, 12 deletions
diff --git a/test/scenario_test/ci-scripts/travis-build-script.sh b/test/scenario_test/ci-scripts/travis-build-script.sh
deleted file mode 100755
index 4fd654db..00000000
--- a/test/scenario_test/ci-scripts/travis-build-script.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/usr/bin/env sh
-
-echo "travis-build-script.sh"
-
-sudo PYTHONPATH=test python test/scenario_test/$TEST --gobgp-image $DOCKER_IMAGE -x -s
diff --git a/test/scenario_test/ci-scripts/travis-install-script.sh b/test/scenario_test/ci-scripts/travis-install-script.sh
deleted file mode 100755
index 5270ac21..00000000
--- a/test/scenario_test/ci-scripts/travis-install-script.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/usr/bin/env sh
-
-echo "travis-install-script.sh"
-
-sudo -H pip --quiet install -r test/pip-requires.txt
-
-sudo fab -f test/lib/base.py make_gobgp_ctn:tag=$DOCKER_IMAGE,from_image=$FROM_IMAGE