mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-04 04:41:35 +00:00
Windows uses 7-zip
This commit is contained in:
12
.travis.yml
12
.travis.yml
@@ -13,6 +13,7 @@ matrix:
|
|||||||
addons:
|
addons:
|
||||||
homebrew:
|
homebrew:
|
||||||
packages:
|
packages:
|
||||||
|
openssl
|
||||||
python@2
|
python@2
|
||||||
- os: windows
|
- os: windows
|
||||||
language: shell
|
language: shell
|
||||||
@@ -21,8 +22,6 @@ matrix:
|
|||||||
before_install:
|
before_install:
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
|
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
|
||||||
cinst -y python2;
|
cinst -y python2;
|
||||||
ls -l /c
|
|
||||||
ls -al /c/Python27;
|
|
||||||
PATH=$PATH:/c/Python27/scripts;
|
PATH=$PATH:/c/Python27/scripts;
|
||||||
fi
|
fi
|
||||||
- pip install pyinstaller
|
- pip install pyinstaller
|
||||||
@@ -33,7 +32,14 @@ install:
|
|||||||
- cp LICENSE gam
|
- cp LICENSE gam
|
||||||
- cp whatsnew.txt gam
|
- cp whatsnew.txt gam
|
||||||
- cp GamCommands.txt gam
|
- cp GamCommands.txt gam
|
||||||
- tar cfJ gam-$TRAVIS_BUILd_NUMBER-$GAMOS.tar.xz gam/
|
- if [[ "$TRAVIS_OSNAME" == "windows" ]]; then
|
||||||
|
ls -l $ProgramFiles;
|
||||||
|
ls -l $ProgramFiles(x86);
|
||||||
|
GAM_ARCHIVE=gam-$TRAVIS_BUILD_NUMBER-$GAMOS.zip;
|
||||||
|
$ProgramFiles/7-Zip/7z.exe a -tzip $GAM_ARCHIVE -xr!.svn;
|
||||||
|
else
|
||||||
|
tar cfJ gam-$TRAVIS_BUILD_NUMBER-$GAMOS.tar.xz gam/;
|
||||||
|
fi
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- gam/gam version
|
- gam/gam version
|
||||||
|
|||||||
Reference in New Issue
Block a user