forked from SFTtech/openage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
24 lines (24 loc) · 881 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
os: osx
osx_image: xcode10.2
language: cpp
script:
- brew update-reset && brew update
- brew tap homebrew/cask-fonts
- brew cask install font-dejavu-sans
- brew upgrade cmake
- brew upgrade python3
- brew install flex
- brew install make
- brew install libepoxy freetype fontconfig harfbuzz sdl2 sdl2_image opus libogg opusfile libpng eigen
- brew install qt5
- brew install -cc=clang llvm@8
- export PATH="/usr/local/opt/llvm@8/bin:$PATH:/usr/local/lib:/usr/local/opt/llvm/bin"
- export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig:/usr/local/lib"
- pip3 install pygments cython numpy pillow pyreadline jinja2
- ./configure --compiler=clang++ --mode=debug --download-nyan && make && make test
before_cache:
- brew cleanup
cache:
directories:
- /usr/local/Homebrew
- $HOME/Library/Caches/Homebrew