ref: 274809b723ba6ec1645c972233aaeb3deb30ed62
parent: caa146a298f862771fc1a4dc7a62885c3490bfea
parent: d7bd7f44530b363bae10bdc558ea556fe13f7272
author: Sanqui <gsanky@gmail.com>
date: Tue Mar 21 10:59:00 EDT 2017
Merge pull request #148 from Sanqui/ci Add Travis continuous integration
--- /dev/null
+++ b/.travis.yml
@@ -1,0 +1,24 @@
+language: c
+install:
+ - |-
+ path="$(pwd)"; cd;
+ wget https://github.com/rednex/rgbds/archive/v0.2.5.tar.gz -O rgbds.tar.gz &&
+ tar xf rgbds.tar.gz &&
+ cd rgbds-0.2.5 &&
+ sudo make install &&
+ cd - &&
+ rm -rf rgbds &&
+ cd "$path"
+before_script:
+ - |-
+ function check_status() {
+ if ! git diff-index --quiet --ignore-submodules=all HEAD --; then
+ echo 'Uncommitted changes detected:';
+ git diff-index HEAD --;
+ return 1;
+ fi;
+ }
+script:
+ - make
+ - make compare
+ - check_status