refactor travis build

This commit is contained in:
Christopher A. Mosher 2019-06-30 15:10:20 -04:00
parent 17a714e550
commit 9dabc88073

View File

@ -8,11 +8,12 @@ matrix:
include: include:
- os: linux - os: linux
dist: xenial dist: xenial
sudo: required addons:
before_install: apt:
- sudo apt-get -qq update packages:
install: - build-essential
- sudo apt-get install -y build-essential xa65 libsdl2-dev - xa65
- libsdl2-dev
before_script: before_script:
- ./bootstrap - ./bootstrap
script: script:
@ -32,11 +33,12 @@ matrix:
- unzip -l $NAME-$TRAVIS_OS_NAME - unzip -l $NAME-$TRAVIS_OS_NAME
- os: linux # cross compile to windows - os: linux # cross compile to windows
dist: xenial dist: xenial
sudo: required addons:
before_install: apt:
- sudo apt-get -qq update packages:
- mingw-w64
- xa65
install: install:
- sudo apt-get install -y mingw-w64 xa65
- curl -L https://www.libsdl.org/release/SDL2-devel-2.0.9-mingw.tar.gz >SDL2.tar.gz && tar xzf SDL2.tar.gz - curl -L https://www.libsdl.org/release/SDL2-devel-2.0.9-mingw.tar.gz >SDL2.tar.gz && tar xzf SDL2.tar.gz
- cd SDL2-* && sudo make cross CROSS_PATH=/usr ARCHITECTURES=x86_64-w64-mingw32 && cd - - cd SDL2-* && sudo make cross CROSS_PATH=/usr ARCHITECTURES=x86_64-w64-mingw32 && cd -
- curl -LO https://github.com/cmosher01/Apple-II-System-Masters/releases/download/v1.1.0/apple2sysmas.zip - curl -LO https://github.com/cmosher01/Apple-II-System-Masters/releases/download/v1.1.0/apple2sysmas.zip