Skip to content

Commit

Permalink
Update travis script
Browse files Browse the repository at this point in the history
  • Loading branch information
wwylele committed Mar 16, 2019
1 parent 01ad182 commit 70a2c44
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 13 deletions.
12 changes: 12 additions & 0 deletions .travis-upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,20 @@

mkdir system_archives
mkdir system_archives/shared_font
mkdir system_archives/bad_word_list
mkdir system_archives/country_list
mkdir system_archives/mii

mv shared_font/shared_font.app.romfs.h system_archives/shared_font/
mv shared_font/00000000.app.romfs system_archives/shared_font/

mv bad_word_list/shared_font.app.romfs.h system_archives/bad_word_list/
mv bad_word_list/00000000.app.romfs system_archives/bad_word_list/

mv country_list/shared_font.app.romfs.h system_archives/country_list/
mv country_list/00000000.app.romfs system_archives/country_list/

mv mii/shared_font.app.romfs.h system_archives/mii/
mv mii/00000000.app.romfs system_archives/mii/

7z a "system_archives.7z" system_archives
19 changes: 6 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,21 @@
language: python
python:
- '2.7'
compiler: gcc
- '3.6'
dist: trusty

before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
- sudo apt-get install -qq g++-6
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-6 90
- sudo apt-get install libcurl4-gnutls-dev
- sudo apt-get install libcurl4-nss-dev
- sudo apt-get install p7zip p7zip-full p7zip-rar
- sudo apt-get install p7zip-full

install:
- python --version
- pip install pillow
- pip install pypng
- python3 --version
- pip3 install pillow
- pip3 install pypng

script:
- bash ./run.sh

after_success:
- bash ./.travis-upload.sh
- bash ./.travis-upload.sh

deploy:
provider: releases
Expand Down

0 comments on commit 70a2c44

Please sign in to comment.