Travis CI autobuilding and updated readme a bit (#30)

* this should work

* Update README.md

* Update README.md

* update to v1.3.5 because why not
This commit is contained in:
FlameAlt53 2019-03-12 10:41:31 -07:00 committed by RocketRobz
parent 585501515e
commit 9912b59971
3 changed files with 95 additions and 5 deletions

78
.travis.yml Normal file
View File

@ -0,0 +1,78 @@
language: cpp
os: linux
sudo: false
dist: trusty
env:
global:
- DEVKITPRO=/opt/devkitpro
- DEVKITARM=/opt/devkitpro/devkitARM
cache:
directories:
- "$HOME/.local"
- "$DEVKITPRO"
before_install:
- curl -L https://github.com/devkitPro/pacman/releases/download/devkitpro-pacman-1.0.1/devkitpro-pacman.deb -o pacman.deb
- sudo apt-get install -y p7zip-full
install:
- sudo dpkg -i pacman.deb
- sudo dkp-pacman -Sy
- sudo dkp-pacman -S devkitARM general-tools dstools ndstool libnds libfat-nds grit mmutil --noconfirm
- export DEVKITPRO=/opt/devkitpro
- export DEVKITARM=${DEVKITPRO}/devkitARM
script:
- export COMMIT_TAG="$(git log --format=%h -1)"
- export COMMIT_MESSAGE="$(git log --pretty=format:"%an - %s" -1)"
- make
- mkdir GodMode9i/
- cp GodMode9i.nds GodMode9i/
- 7z a GodMode9i.7z GodMode9i/
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.9
- g++-4.9
- libstdc++6
- lftp
after_success:
- curl -o send.sh https://raw.githubusercontent.com/DS-Homebrew/travis-ci-discord-webhook/master/send.sh
- chmod +x send.sh
- ./send.sh success $WEBHOOK_URL
after_failure:
- curl -o send.sh https://raw.githubusercontent.com/DS-Homebrew/travis-ci-discord-webhook/master/send.sh
- chmod +x send.sh
- ./send.sh failure $WEBHOOK_URL
before_deploy:
- git config --local user.name "TWLBot"
- git clone https://$GITHUB_TOKEN@github.com/TWLBot/Builds.git
- cd Builds/extras
- cp ../../GodMode9i.7z GodMode9i.7z
- git stage .
- git commit -m "GodMode9i | $COMMIT_TAG"
- git push origin master
- export CURRENT_DATE=$(date +'%Y%m%d-%H%M%S')
- git tag v$CURRENT_DATE
deploy:
provider: releases
overwrite: true
api_key: $GITHUB_TOKEN
file: GodMode9i.7z
skip_cleanup: true
repo: TWLBot/Builds
prerelease: true
name: GodMode9i | $COMMIT_TAG
body: $COMMIT_MESSAGE
on:
all_branches: true

View File

@ -1,7 +1,19 @@
# ![GodMode9i](https://github.com/RocketRobz/GodMode9i/blob/master/resources/logo2_small.png)
_A full access file browser for the DS and DSi consoles_ :godmode:
_A full access file browser for the DS and DSi consoles_ :godmode: ![img](https://travis-ci.org/RocketRobz/GodMode9i.svg?branch=master)
## Features
Dump GBA games on a DS Phat and DS Lite!
Copy, delete, move and rename files as well as create folders.
Mount the NitroFS for .nds files, including retail ones.
Works on any console that supports a flashcard, or has CFW! (includes original DS, DSi, and 3DS)
View files on supported flashcards when running GM9i from the SD Card.
GodMode9i is a full access file browser for the Nintendo DS and DSi consoles, similar to d0k3's GodMode9 for Nintendo 3DS, giving you access to your SD card, and the flashcard's microSD card (check below for supported flashcards in DSi mode). You can copy, delete, rename files and create folders.
## Supported flashcards, if being ran off the SD card or as a CIA
* Acekard 2(i)
@ -9,6 +21,6 @@ GodMode9i is a full access file browser for the Nintendo DS and DSi consoles, si
## Credits
* d0k3: Original GM9 app and name, though he is not involved with the development of GM9i.
* devkitPro: devkitARM, libnds, original nds-hb-menu code, and screenshot code.
* devkitPro/WinterMute: devkitARM, libnds, original nds-hb-menu code, and screenshot code.
* THEGUY: GM9i logo used up to v1.3.0
* zacchi4k: GM9i logo used in v1.3.1 and later
* zacchi4k: GM9i logo used in v1.3.1 and later

View File

@ -77,7 +77,7 @@ int main(int argc, char **argv) {
bool yHeld = false;
snprintf(titleName, sizeof(titleName), "GodMode9i v%i.%i.%i", 1, 3, 4);
snprintf(titleName, sizeof(titleName), "GodMode9i v%i.%i.%i", 1, 3, 5);
// initialize video mode
videoSetMode(MODE_4_2D);