mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Add Travis CI configuration file
Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com>
This commit is contained in:
13
.travis-deps.sh
Executable file
13
.travis-deps.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ $TRAVIS_OS_NAME = "osx" ]; then
|
||||
brew update
|
||||
brew install libpng pkg-config
|
||||
else # linux
|
||||
sudo apt-get -qq update
|
||||
sudo apt-get install -y -q bison flex libpng-dev pkg-config
|
||||
fi
|
||||
|
||||
echo "Dependencies:"
|
||||
yacc --version
|
||||
flex --version
|
||||
16
.travis.yml
Normal file
16
.travis.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
language: c
|
||||
sudo: required
|
||||
install:
|
||||
- ./.travis-deps.sh
|
||||
os:
|
||||
- linux
|
||||
- osx
|
||||
compiler:
|
||||
- clang
|
||||
- gcc
|
||||
script:
|
||||
- make
|
||||
- sudo make install
|
||||
after_success:
|
||||
- pushd test/asm/ && ./test.sh && popd
|
||||
- pushd test/link/ && ./test.sh && popd
|
||||
Reference in New Issue
Block a user