-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path.travis.yml
44 lines (38 loc) · 1.2 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
dist: bionic
os: linux
language: cpp
env:
global:
- CC=gcc-8
- CXX=g++-8
- DEVKITPRO=$HOME
- DEVKITPPC=$DEVKITPRO/devkitPPC
addons:
apt:
packages:
- g++-8-multilib
- linux-libc-dev
- wine32
- wine-stable
cache:
apt: true
install:
- mkdir -p $HOME/download
- pushd $HOME/download
- travis_retry wget https://cdn.discordapp.com/attachments/751089877579202691/763480218279084133/GC_WII_COMPILERS.zip
- travis_retry wget https://www.red031000.com/pbr/baserom.dol
- travis_retry wget https://github.com/devkitPro/buildscripts/releases/download/devkitPPC_r35/devkitPPC_r35-linux.tar.xz
- travis_retry wget https://www.red031000.com/pbr/powerpc-eabi-objcopy
- tar xJf devkitPPC*.tar.xz -C $HOME
- sudo chmod 775 powerpc-eabi-objcopy
- mv -f powerpc-eabi-objcopy $DEVKITPPC/bin/powerpc-eabi-objcopy
- mkdir $TRAVIS_BUILD_DIR/tools/mwcc_compiler
- unzip GC_WII_COMPILERS.zip -d $TRAVIS_BUILD_DIR/tools/mwcc_compiler
- mv baserom.dol $TRAVIS_BUILD_DIR
- popd
script:
- travis_retry make
notifications:
email: false
after_success:
- .travis/calcrom/webhook.sh pokerevo