mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-23 15:41:36 +00:00
split travis to per-image profiles
This commit is contained in:
9
src/travis/linux-i686-precise-testing-before-install.sh
Normal file
9
src/travis/linux-i686-precise-testing-before-install.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
dpkg --add-architecture i386
|
||||
apt update
|
||||
apt install -y python:i386
|
||||
python -V
|
||||
pip install --upgrade pip
|
||||
pip freeze > requirements.txt
|
||||
pip install --upgrade -r requirements.txt
|
||||
rm requirements.txt
|
||||
pip install pyinstaller
|
||||
1
src/travis/linux-i686-precise-testing-install.sh
Symbolic link
1
src/travis/linux-i686-precise-testing-install.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
linux-x86_64-install.sh
|
||||
5
src/travis/linux-x86_64-before-install.sh
Normal file
5
src/travis/linux-x86_64-before-install.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
pip install --upgrade pip
|
||||
pip freeze > requirements.txt
|
||||
pip install --upgrade -r requirements.txt
|
||||
rm requirements.txt
|
||||
pip install pyinstaller
|
||||
9
src/travis/linux-x86_64-install.sh
Normal file
9
src/travis/linux-x86_64-install.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
cd src
|
||||
pyinstaller --clean -F --distpath=gam $GAMOS-gam.spec
|
||||
gam/gam version
|
||||
export GAMVERSION=`gam/gam version simple`
|
||||
cp LICENSE gam
|
||||
cp whatsnew.txt gam
|
||||
cp GamCommands.txt gam
|
||||
GAM_ARCHIVE=gam-$GAMVERSION-$GAMOS-$PLATFORM.tar.xz
|
||||
tar cfJ $GAM_ARCHIVE gam/
|
||||
5
src/travis/osx-x86_64-before-install.sh
Normal file
5
src/travis/osx-x86_64-before-install.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
pip install --upgrade pip
|
||||
pip freeze > requirements.txt
|
||||
pip install --upgrade -r requirements.txt
|
||||
rm requirements.txt
|
||||
pip install pyinstaller
|
||||
1
src/travis/osx-x86_64-install.sh
Symbolic link
1
src/travis/osx-x86_64-install.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
linux-x86_64-install.sh
|
||||
6
src/travis/osx-x86_64-sierra-testing-before-install.sh
Normal file
6
src/travis/osx-x86_64-sierra-testing-before-install.sh
Normal file
@@ -0,0 +1,6 @@
|
||||
curl https://bootstrap.pypa.io/get-pip.py | sudo python
|
||||
pip freeze > requirements.txt
|
||||
sudo pip install --upgrade -r requirements.txt
|
||||
rm requirements.txt
|
||||
sudo pip install --upgrade altgraph
|
||||
sudo pip install pyinstaller
|
||||
1
src/travis/osx-x86_64-sierra-testing-install.sh
Symbolic link
1
src/travis/osx-x86_64-sierra-testing-install.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
linux-x86_64-install.sh
|
||||
9
src/travis/windows-x86-before-install.sh
Normal file
9
src/travis/windows-x86-before-install.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
powershell Install-WindowsFeature Net-Framework-Core
|
||||
cinst -y --forcex86 python2
|
||||
export PATH=$PATH:/c/Python27/scripts
|
||||
cinst -y wixtoolset
|
||||
pip install --upgrade pip
|
||||
pip freeze > requirements.txt
|
||||
pip install --upgrade -r requirements.txt
|
||||
rm requirements.txt
|
||||
pip install pyinstaller
|
||||
14
src/travis/windows-x86-install.sh
Normal file
14
src/travis/windows-x86-install.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
cd src
|
||||
pyinstaller --clean -F --distpath=gam $GAMOS-gam.spec
|
||||
gam/gam version
|
||||
export GAMVERSION=`gam/gam version simple`
|
||||
cp LICENSE gam
|
||||
cp GamCommands.txt gam
|
||||
cp gam-setup.bat gam
|
||||
GAM_ARCHIVE=gam-$GAMVERSION-$GAMOS-$PLATFORM.zip
|
||||
/c/Program\ Files/7-Zip/7z.exe a -tzip $GAM_ARCHIVE gam -xr!.svn
|
||||
mkdir gam-64
|
||||
cp -rf gam/* gam-64/;
|
||||
/c/Program\ Files\ \(x86\)/WiX\ Toolset\ v3.11/bin/candle.exe -arch x86 gam.wxs
|
||||
/c/Program\ Files\ \(x86\)/WiX\ Toolset\ v3.11/bin/light.exe -ext /c/Program\ Files\ \(x86\)/WiX\ Toolset\ v3.11/bin/WixUIExtension.dll gam.wixobj -o gam-$GAMVERSION-$GAMOS-$PLATFORM.msi || true;
|
||||
rm *.wixpdb
|
||||
9
src/travis/windows-x86_64-before-install.sh
Normal file
9
src/travis/windows-x86_64-before-install.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
powershell Install-WindowsFeature Net-Framework-Core
|
||||
cinst -y $CINST_ARGS python2
|
||||
export PATH=$PATH:/c/Python27/scripts
|
||||
cinst -y wixtoolset
|
||||
pip install --upgrade pip
|
||||
pip freeze > requirements.txt
|
||||
pip install --upgrade -r requirements.txt
|
||||
rm requirements.txt
|
||||
pip install pyinstaller
|
||||
14
src/travis/windows-x86_64-install.sh
Normal file
14
src/travis/windows-x86_64-install.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
cd src
|
||||
pyinstaller --clean -F --distpath=gam $GAMOS-gam.spec
|
||||
gam/gam version
|
||||
export GAMVERSION=`gam/gam version simple`
|
||||
cp LICENSE gam
|
||||
cp GamCommands.txt gam
|
||||
cp gam-setup.bat gam
|
||||
GAM_ARCHIVE=gam-$GAMVERSION-$GAMOS-$PLATFORM.zip
|
||||
/c/Program\ Files/7-Zip/7z.exe a -tzip $GAM_ARCHIVE gam -xr!.svn
|
||||
mkdir gam-64
|
||||
cp -rf gam/* gam-64/;
|
||||
/c/Program\ Files\ \(x86\)/WiX\ Toolset\ v3.11/bin/candle.exe -arch x64 gam.wxs
|
||||
/c/Program\ Files\ \(x86\)/WiX\ Toolset\ v3.11/bin/light.exe -ext /c/Program\ Files\ \(x86\)/WiX\ Toolset\ v3.11/bin/WixUIExtension.dll gam.wixobj -o gam-$GAMVERSION-$GAMOS-$PLATFORM.msi || true;
|
||||
rm *.wixpdb
|
||||
Reference in New Issue
Block a user