mirror of
https://github.com/pret/pokeruby.git
synced 2024-12-03 18:50:47 +00:00
61 lines
1.5 KiB
YAML
61 lines
1.5 KiB
YAML
language: generic
|
|
dist: trusty
|
|
sudo: false
|
|
env:
|
|
global:
|
|
- DEVKITARM=$HOME/devkitARM
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- gcc-multilib
|
|
- linux-libc-dev
|
|
cache:
|
|
apt: true
|
|
install:
|
|
- pushd $HOME
|
|
- travis_retry wget http://download.sourceforge.net/devkitpro/devkitARM_r46-x86_64-linux.tar.bz2
|
|
- tar xf devkitARM*.tar.bz2
|
|
- travis_retry git clone https://github.com/pret/agbcc.git
|
|
- cd agbcc && ./build.sh && ./install.sh $TRAVIS_BUILD_DIR
|
|
- popd
|
|
|
|
matrix:
|
|
include:
|
|
- os: linux
|
|
env: _="Build"
|
|
script:
|
|
- ./build_tools.sh
|
|
- make -j2 compare_ruby
|
|
- make -j2 compare_ruby_rev1
|
|
- make -j2 compare_ruby_rev2
|
|
- make -j2 compare_sapphire
|
|
- make -j2 compare_sapphire_rev1
|
|
- make -j2 compare_sapphire_rev2
|
|
- os: linux
|
|
env: _="Formatting"
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- llvm-toolchain-trusty
|
|
packages:
|
|
- clang-format-5.0
|
|
- colordiff
|
|
install: [ ]
|
|
before_script:
|
|
- cp .travis/colordiffrc ~/.colordiffrc
|
|
script:
|
|
.travis/check-git-clang-format-output.sh
|
|
- os: linux
|
|
env: _="Build German"
|
|
before_script:
|
|
- cp override-de.mk override.mk
|
|
- rsync -avhI asm-de/ asm/
|
|
- rsync -avhI data-de/ data/
|
|
- rsync -avhI graphics-de/ graphics/
|
|
script:
|
|
- ./build_tools.sh
|
|
- make -j2 compare_ruby_de
|
|
- make -j2 compare_sapphire_de
|
|
allow_failures:
|
|
- env: _="Formatting"
|