forked from gamejolt/gamejolt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (34 loc) · 886 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
38
39
sudo: false
language: cpp
os:
- linux
- osx
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.9
- g++-4.9
- gcc-4.9-multilib
- g++-4.9-multilib
artifacts:
paths:
- ./build/client/prod/build/linux64-package.tar.gz
- ./build/client/prod/build/linux64.tar.gz
- ./build/client/prod/build/osx64-package.tar.gz
- ./build/client/prod/build/osx.dmg
before_install:
- git submodule update --init --recursive
- git clone https://github.com/creationix/nvm.git ./.nvm
- source ./.nvm/nvm.sh
- nvm install 4.2.6
- nvm use 4.2.6
- npm install -g gulp bower node-pre-gyp nw-gyp
install:
- bower i
- npm i
script:
- echo $TRAVIS_OS_NAME
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then npm run client-build-linux64; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then npm run client-build-osx; fi