mirror of
https://github.com/cave-story-randomizer/cave-story-randomizer
synced 2025-04-04 19:14:54 +00:00
what happened to travis
This commit is contained in:
parent
bc8dbbd627
commit
e1b24f451d
22
.travis.yml
22
.travis.yml
|
@ -8,22 +8,13 @@ addons:
|
||||||
- libzip-dev
|
- libzip-dev
|
||||||
before_install:
|
before_install:
|
||||||
- |
|
- |
|
||||||
if ! [ -x "$(command -v luarocks)" ]; then
|
pip install hererocks
|
||||||
# install luarocks via hererocks via python
|
hererocks env --luarocks 3.0 --lua latest
|
||||||
pip install hererocks
|
export 'PATH='"$TRAVIS_BUILD_DIR"'/env/bin'":$PATH"
|
||||||
hererocks --lua latest --luarocks 3.0 $HOME/luarocks
|
|
||||||
bash $HOME/luarocks/bin/activate
|
|
||||||
fi
|
|
||||||
export PATH=$HOME/luarocks/bin:$PATH
|
|
||||||
install:
|
install:
|
||||||
- luarocks install --server="http://luarocks.org/dev" lua-zip
|
- |
|
||||||
- luarocks install love-release
|
luarocks install --server="http://luarocks.org/dev" lua-zip
|
||||||
- sudo add-apt-repository -y ppa:bartbes/love-stable
|
luarocks install love-release
|
||||||
- sudo apt-get -q update
|
|
||||||
- sudo apt-get -y install love
|
|
||||||
cache:
|
|
||||||
directories:
|
|
||||||
- $HOME/luarocks
|
|
||||||
script:
|
script:
|
||||||
- bash daily.sh
|
- bash daily.sh
|
||||||
env:
|
env:
|
||||||
|
@ -32,7 +23,6 @@ env:
|
||||||
before_deploy:
|
before_deploy:
|
||||||
- |
|
- |
|
||||||
cd src; love-release -M; cd -
|
cd src; love-release -M; cd -
|
||||||
bash reshacker.sh
|
|
||||||
mv pre-edited-cs "src/releases/Cave Story"
|
mv pre-edited-cs "src/releases/Cave Story"
|
||||||
cd src/releases
|
cd src/releases
|
||||||
zip -9 -qur CaveStoryRandomizer-macos.zip "Cave Story"
|
zip -9 -qur CaveStoryRandomizer-macos.zip "Cave Story"
|
||||||
|
|
4
daily.sh
4
daily.sh
|
@ -1,6 +1,10 @@
|
||||||
set -ev
|
set -ev
|
||||||
|
|
||||||
if [ "$TRAVIS_EVENT_TYPE" != "cron" ]; then exit 0; fi
|
if [ "$TRAVIS_EVENT_TYPE" != "cron" ]; then exit 0; fi
|
||||||
|
sudo add-apt-repository -y ppa:bartbes/love-stable
|
||||||
|
sudo apt-get -q update
|
||||||
|
sudo apt-get -y install love
|
||||||
|
|
||||||
cd src
|
cd src
|
||||||
love-release
|
love-release
|
||||||
love "releases/CaveStoryRandomizer.love" --daily --headless
|
love "releases/CaveStoryRandomizer.love" --daily --headless
|
||||||
|
|
Loading…
Reference in a new issue