forked from etternagame/etterna
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
83 lines (73 loc) · 1.84 KB
/
.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
language: cpp
dist: xenial
sudo: required
git:
depth: false
env:
- PATH=/usr/local/bin:${PATH}
matrix:
fast_finish: true
allow_failures:
- os: windows
include:
##### Linux ##################
- os: linux
compiler: clang
- os: linux
compiler: gcc
##### macOS ##################
- os: osx
osx_image: xcode10.1
install:
- sudo gem install xcpretty
script:
- mkdir -p ${TRAVIS_BUILD_DIR}/build && cd ${TRAVIS_BUILD_DIR}/build
- cmake -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -G "Xcode" ..
- set -o pipefail && xcodebuild ARCHS="x86_64" -project Etterna.xcodeproj -target Etterna -destination 'platform=OSX,arch=x86_64' -configuration Release | xcpretty
##### Windows ################
- os: windows
env: PATH="/c/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/MSBuild/15.0/Bin:$PATH"
install:
- choco install -y cmake
script:
- mkdir -p ${TRAVIS_BUILD_DIR}/build && cd ${TRAVIS_BUILD_DIR}/build
- cmake ..
- MSbuild.exe Etterna.sln -t:Etterna
# This will only run for the linux builds
# The other os's have overridden the script tag
script:
- sh .ci/build.sh
- mkdir -p ${TRAVIS_BUILD_DIR}/build && cd ${TRAVIS_BUILD_DIR}/build
- cmake ..
- make
addons:
homebrew:
packages:
- openssl
- cmake
- nasm
update: true
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise
packages:
- nasm
- libudev-dev
- gcc-5
- g++-5
- libmad0-dev
- libgtk2.0-dev
- binutils-dev
- libasound-dev
- libpulse-dev
- libjack-dev
- libc6-dev
- libogg-dev
- libvorbis-dev
- libxtst-dev
- libxrandr-dev
- libglew-dev
- libuv-dev
- clang-format-5.0
update: true