Skip to content

Commit

Permalink
travis: fetch deps from dkp-pacman repo (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
vgmoose authored and Joel committed Jan 12, 2020
1 parent 211cc55 commit eb5b24f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ install:
- docker pull devkitpro/devkita64
script:
- docker run -e ENABLE_COMPATIBILITY_REPORTING -v $TRAVIS_BUILD_DIR:/NX-Shell
devkitpro/devkita64 /bin/bash -ex /NX-Shell/.travis/.build.sh
ubuntu:18.10 /bin/bash -ex /NX-Shell/.travis/.build.sh

deploy:
provider: pages
Expand Down
12 changes: 10 additions & 2 deletions .travis/.build.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
#!/bin/bash -ex

sudo apt-get update -y
sudo apt-get -y install build-essential
apt-get update -y && apt-get -y install sudo
sudo apt-get -y install build-essential sudo wget libxml2

# install dkp deps
touch /trustdb.gpg
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 --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

source /etc/profile.d/devkit-env.sh
export DEVKITA64=/opt/devkitpro/devkitA64

Expand Down

0 comments on commit eb5b24f

Please sign in to comment.