Skip to content

Commit

Permalink
Travis support
Browse files Browse the repository at this point in the history
  • Loading branch information
pevisscher committed Aug 7, 2016
1 parent c15181f commit 82ede3c
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
language: generic
matrix:
include:
# Use the built in venv for linux builds
- os: linux
dist: trusty
# Use generic language for osx
# disabled due to premake bug
#- os: osx
# osx_image: xcode8
# language: generic
install:
- rm -rf ~/.matplotlib/fontList.cache
- wget -O - https://raw.githubusercontent.com/Zefiros-Software/ZPM/master/script/install-zpm-travis.sh | bash
- chmod a+x ./script/travis-build.sh
# annoying pip fix
- export BOTO_CONFIG=/tmp/bogusvalue
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install g++-multilib -y; fi
script:
- ./script/travis-build.sh
30 changes: 30 additions & 0 deletions script/travis-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
set -e

premake5 install-package --allow-install --allow-module
premake5 gmake
cd bsp
make config=debug_x86
make config=debug_x86_64
make config=release_x86
make config=release_x86_64
#make config=coverage_x86
#make config=coverage_x86_64

cd ../test/

premake5 gmake

cd zpm/
make
cd ../

cd ../docs/images/
../../bin/x86/bsp-test
../../bin/x86/bsp-testd
#../../bin/x86/bsp-testcd

../../bin/x86_64/bsp-test
../../bin/x86_64/bsp-testd
#../../bin/x86_64/bsp-testcd

../../test/bin/x86/bsp-zpm-test

0 comments on commit 82ede3c

Please sign in to comment.