forked from ggerganov/kbd-audio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
37 lines (27 loc) · 780 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
language: c++
cache: apt
dist: xenial
sudo: required
os:
- linux
- osx
compiler:
- gcc
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test;
sudo apt-get update;
sudo apt-get install -qq g++-7;
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 90;
sudo apt-get install -qq build-essential xorg-dev libglu1-mesa-dev libglew-dev libglm-dev;
sudo apt-get install -qq cmake;
sudo apt-get install -qq libsdl2-dev;
sudo apt-get install -qq libfftw3-dev;
fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew update;
brew install sdl2;
brew install fftw;
fi
script:
- mkdir build && cd build && cmake .. && make