Travis CI 💚

This commit is contained in:
Jannis R 2019-08-27 12:35:28 +02:00
parent 5bffe0c6fe
commit 6dc42d4fa7
No known key found for this signature in database
GPG Key ID: 0FE83946296A88A5
3 changed files with 17 additions and 1 deletions

15
.travis.yml Normal file
View File

@ -0,0 +1,15 @@
language: c
os:
- linux
- osx
env:
- HOMEBREW_NO_INSTALL_CLEANUP=true
install:
- if [ $TRAVIS_OS_NAME == 'linux' ]; then ./install-dependencies-linux.sh; fi
- if [ $TRAVIS_OS_NAME == 'osx' ]; then ./install-dependencies-macos.sh; fi
script:
- autoreconf -i
- if [ $TRAVIS_OS_NAME == 'linux' ]; then ./configure; fi
- if [ $TRAVIS_OS_NAME == 'osx' ]; then ./configure --without-alsa --without-pulseaudio; fi
- make
- ./src/minimodem --benchmarks

View File

@ -3,5 +3,6 @@ set -e
set -x
set -o pipefail
sudo apt update
sudo apt install libsndfile1-dev fftw3-dev libasound2-dev libpulse-dev
sudo apt install pkg-config automake

View File

@ -4,4 +4,4 @@ set -x
set -o pipefail
brew install libsndfile fftw
brew install automake
brew install automake || brew upgrade automake