Fix Travis CI.

This commit is contained in:
Vittorio Alfieri
2023-05-09 00:19:40 +02:00
parent 103c8aa3c2
commit 95a37fd138
2 changed files with 6 additions and 6 deletions

View File

@@ -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

View File

@@ -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