Skip to content

Commit eb5b24f

Browse files
vgmooseJoel
authored andcommitted
travis: fetch deps from dkp-pacman repo (#76)
1 parent 211cc55 commit eb5b24f

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ install:
77
- docker pull devkitpro/devkita64
88
script:
99
- docker run -e ENABLE_COMPATIBILITY_REPORTING -v $TRAVIS_BUILD_DIR:/NX-Shell
10-
devkitpro/devkita64 /bin/bash -ex /NX-Shell/.travis/.build.sh
10+
ubuntu:18.10 /bin/bash -ex /NX-Shell/.travis/.build.sh
1111

1212
deploy:
1313
provider: pages

.travis/.build.sh

100644100755
Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
#!/bin/bash -ex
22

3-
sudo apt-get update -y
4-
sudo apt-get -y install build-essential
3+
apt-get update -y && apt-get -y install sudo
4+
sudo apt-get -y install build-essential sudo wget libxml2
5+
6+
# install dkp deps
7+
touch /trustdb.gpg
8+
wget https://github.com/devkitPro/pacman/releases/download/devkitpro-pacman-1.0.1/devkitpro-pacman.deb
9+
sudo dpkg -i devkitpro-pacman.deb
10+
11+
sudo dkp-pacman --noconfirm -Syu switch-dev switch-sdl2 switch-sdl2_gfx switch-sdl2_image switch-sdl2_ttf switch-opusfile switch-liblzma switch-libvorbisidec switch-mpg123 switch-flac
12+
513
source /etc/profile.d/devkit-env.sh
614
export DEVKITA64=/opt/devkitpro/devkitA64
715

0 commit comments

Comments
 (0)