From 92793f371dbb0e48075287c39bdcf6ee74e85164 Mon Sep 17 00:00:00 2001 From: IWASE Yusuke Date: Fri, 13 Oct 2017 14:33:41 +0900 Subject: 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 --- test/scenario_test/ci-scripts/travis-build-script.sh | 5 ----- test/scenario_test/ci-scripts/travis-install-script.sh | 7 ------- 2 files changed, 12 deletions(-) delete mode 100755 test/scenario_test/ci-scripts/travis-build-script.sh delete mode 100755 test/scenario_test/ci-scripts/travis-install-script.sh (limited to 'test') 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 -- cgit v1.2.3