Travis CI 💚
This commit is contained in:
parent
5bffe0c6fe
commit
6dc42d4fa7
|
@ -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
|
|
@ -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
|
||||
|
|
|
@ -4,4 +4,4 @@ set -x
|
|||
set -o pipefail
|
||||
|
||||
brew install libsndfile fftw
|
||||
brew install automake
|
||||
brew install automake || brew upgrade automake
|
||||
|
|
Loading…
Reference in New Issue