-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy path.travis.yml
36 lines (31 loc) · 1018 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
language: cpp
compiler: gcc
install:
- sudo apt-add-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-add-repository ppa:zoogie/sdl2-snapshots -y
- sudo apt-get update -qq
- sudo apt-get install -qq gcc-4.8 g++-4.8 libgl1-mesa-dev libsdl2-dev
- export CXX="g++-4.8" CC="gcc-4.8"
- git clone https://github.com/bkaradzic/bx ../bx
- git clone https://github.com/bkaradzic/bgfx.git ../bgfx
- git clone https://github.com/premake/premake-core.git ../premake-core
- cd ../premake-core
- git submodule init
- git submodule update
- make -f Bootstrap.mak linux
- chmod +x bin/release/premake5
- cd $TRAVIS_BUILD_DIR
- ../premake-core/bin/release/premake5 shaders
- ../premake-core/bin/release/premake5 gmake
- cd build
script:
make config=release_x86_64
before_deploy:
tar pczf renderer_bgfx_x86_64.tar.gz --directory="bin_x64" renderer_bgfx_x86_64.so
deploy:
provider: bintray
file: ../.bintray.json
user: jpcy
key: $BINTRAY_API_KEY
notifications:
email: false