Fix Travis CI.
This commit is contained in:
10
.travis.yml
10
.travis.yml
@@ -9,6 +9,7 @@ before_install:
|
|||||||
- export BUILD_ANDROID=NO
|
- export BUILD_ANDROID=NO
|
||||||
- export BUILD_Qt=NO
|
- export BUILD_Qt=NO
|
||||||
- export BUILD_MAC=NO
|
- export BUILD_MAC=NO
|
||||||
|
- export BUILD_RES=YES
|
||||||
- echo -e "machine github.com\n login $GITHUB_TOKEN" > ~/.netrc
|
- echo -e "machine github.com\n login $GITHUB_TOKEN" > ~/.netrc
|
||||||
- git lfs pull
|
- git lfs pull
|
||||||
# Only building on Mac when not handling pull request
|
# Only building on Mac when not handling pull request
|
||||||
@@ -64,11 +65,10 @@ install:
|
|||||||
- python2 -m pip install github3.py
|
- python2 -m pip install github3.py
|
||||||
- python2 -m pip install cpp-coveralls
|
- python2 -m pip install cpp-coveralls
|
||||||
|
|
||||||
- ls /usr/local/lib/python2.7/
|
- ls /usr/local/lib/python2.7/site-packages/
|
||||||
- ls /usr/local/lib/python2.7/dist-packages/
|
- ls /usr/local/lib/python2.7/site-packages/requests/
|
||||||
- ls /usr/local/lib/python2.7/dist-packages/certifi/
|
- ls /usr/local/lib/python2.7/site-packages/requests/cacert.pem
|
||||||
- ls /usr/local/lib/python2.7/dist-packages/certifi/cacert.pem
|
- locate cacert.pem
|
||||||
- locate python2.7
|
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- export REQUESTS_CA_BUNDLE=/usr/local/lib/python2.7/dist-packages/certifi/cacert.pem
|
- export REQUESTS_CA_BUNDLE=/usr/local/lib/python2.7/dist-packages/certifi/cacert.pem
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ cd ../..
|
|||||||
# we create resource package
|
# we create resource package
|
||||||
if [ "$BUILD_RES" = "YES" ] || [ "$BUILD_PSP" = "YES" ]; then
|
if [ "$BUILD_RES" = "YES" ] || [ "$BUILD_PSP" = "YES" ]; then
|
||||||
cd projects/mtg/bin/Res
|
cd projects/mtg/bin/Res
|
||||||
python createResourceZip.py
|
python2 createResourceZip.py
|
||||||
# if we let the zip here, Wagic will use it in the testsuite
|
# if we let the zip here, Wagic will use it in the testsuite
|
||||||
# and we'll get 51 failed test cases
|
# and we'll get 51 failed test cases
|
||||||
mv core_*.zip ../../../../core.zip
|
mv core_*.zip ../../../../core.zip
|
||||||
|
|||||||
Reference in New Issue
Block a user