From 95a37fd1382144c62b03468efaedaeab37971844 Mon Sep 17 00:00:00 2001 From: Vittorio Alfieri Date: Tue, 9 May 2023 00:19:40 +0200 Subject: [PATCH] Fix Travis CI. --- .travis.yml | 10 +++++----- tools/travis-script.sh | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5c0bdec6a..46480f464 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,7 @@ before_install: - export BUILD_ANDROID=NO - export BUILD_Qt=NO - export BUILD_MAC=NO + - export BUILD_RES=YES - echo -e "machine github.com\n login $GITHUB_TOKEN" > ~/.netrc - git lfs pull # Only building on Mac when not handling pull request @@ -64,11 +65,10 @@ install: - python2 -m pip install github3.py - python2 -m pip install cpp-coveralls -- ls /usr/local/lib/python2.7/ -- ls /usr/local/lib/python2.7/dist-packages/ -- ls /usr/local/lib/python2.7/dist-packages/certifi/ -- ls /usr/local/lib/python2.7/dist-packages/certifi/cacert.pem -- locate python2.7 +- ls /usr/local/lib/python2.7/site-packages/ +- ls /usr/local/lib/python2.7/site-packages/requests/ +- ls /usr/local/lib/python2.7/site-packages/requests/cacert.pem +- locate cacert.pem before_script: - export REQUESTS_CA_BUNDLE=/usr/local/lib/python2.7/dist-packages/certifi/cacert.pem diff --git a/tools/travis-script.sh b/tools/travis-script.sh index fabc2c4f2..8e02ff1e4 100755 --- a/tools/travis-script.sh +++ b/tools/travis-script.sh @@ -27,7 +27,7 @@ cd ../.. # we create resource package if [ "$BUILD_RES" = "YES" ] || [ "$BUILD_PSP" = "YES" ]; then cd projects/mtg/bin/Res - python createResourceZip.py + python2 createResourceZip.py # if we let the zip here, Wagic will use it in the testsuite # and we'll get 51 failed test cases mv core_*.zip ../../../../core.zip