Commit 132e367f by omarzohdi

Travis CI intergration

Adding a travis.yml file. The file configures builds for Windows, macOS and Linux (Xenial). Builds are limited to the master branch. Updating the README.rst file to show the travis build badge.
parent 6528755a
language: cpp
matrix:
include:
- os: windows
script:
- mkdir build_windows
- cd build_windows
- cmake .. && cmake --build .
- os: osx
osx_image: xcode9.4
script:
- mkdir build_macOS
- cd build_macOS
- cmake .. && cmake --build . -- -j2
- os: linux
dist: xenial
compiler: gcc
before_script: chmod +x external/spir-v/glslangValidator
script:
- mkdir build_linux
- cd build_linux
- cmake -DWS=NullWS .. && cmake --build . -- -j2
- os: linux
dist: xenial
compiler: clang
before_script: chmod +x external/spir-v/glslangValidator
script:
- mkdir build_linux
- cd build_linux
- cmake -DWS=NullWS .. && cmake --build . -- -j2
branches:
only:
- master
\ No newline at end of file
.. image:: https://travis-ci.org/powervr-graphics/Native_SDK.svg?branch=master
:target: https://travis-ci.org/powervr-graphics/Native_SDK
.. figure:: ./docs/images/WelcomeGraphic.png
===============
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment