-
-
Notifications
You must be signed in to change notification settings - Fork 111
/
.travis.yml
36 lines (29 loc) · 928 Bytes
/
.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
sudo: required
language: cpp
cache:
directories:
- /opt/devkitpro/pacman/var/cache/pacman/pkg/
git:
submodules: false
before_install:
- sed -i 's/[email protected]:/git:\/\/github.com\//' .gitmodules # Travis can't deal with the user 'git'...
- git submodule update --init --recursive
- wget https://github.com/devkitPro/pacman/releases/download/devkitpro-pacman-1.0.1/devkitpro-pacman.deb
- sudo dpkg -i devkitpro-pacman.deb
- sudo dkp-pacman -S switch-{dev,curl,freetype} --noconfirm
- source /etc/profile.d/devkit-env.sh
script:
- make
before_deploy:
- export TRAVIS_TAG=snapshot
deploy:
provider: releases
prerelease: true
api_key: $GITHUB_TOKEN
file: out/EdiZon.nro
skip_cleanup: true
overwrite: true
name: "Snapshot Build"
body: "This build was compiled on the $(date +'%d.%m.%Y'). It may be unstable, contains more features and bug fixes too though"
on:
branch: master