Updated travis build

This commit is contained in:
Christophe Riccio 2016-11-19 20:47:20 +01:00
parent e6ea01a65b
commit e51be9c01e
2 changed files with 44 additions and 20 deletions

View File

@ -1,8 +1,41 @@
language: cpp language: cpp
os: matrix:
- linux include:
- osx - compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
env: COMPILER=g++-4.9
- compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6.1
env: COMPILER=g++-6.1
- compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.4
packages:
- clang-3.4
env: COMPILER=clang++-3.4
- compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.9
packages:
- clang-3.9
env: COMPILER=clang++-3.9
compiler: compiler:
- clang - clang
@ -10,21 +43,15 @@ compiler:
before_script: before_script:
script: script:
- mkdir ./build_98_pure - mkdir ./build_pure
- cd ./build_98_pure - cd ./build_pure
- cmake -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_CXX_98=ON -DGLM_TEST_FORCE_PURE=ON .. - cmake -DCMAKE_CXX_COMPILER=$COMPILER -DGLM_TEST_ENABLE=ON -DGLM_TEST_FORCE_PURE=ON ..
- cmake --build . - cmake --build .
- ctest - ctest
- cd .. - cd ..
- mkdir ./build_98_simd - mkdir ./build_simd
- cd ./build_98_simd - cd ./build_simd
- cmake -DGLM_TEST_ENABLE=ON -DGLM_TEST_ENABLE_CXX_98=ON .. - cmake -DCMAKE_CXX_COMPILER=$COMPILER -DGLM_TEST_ENABLE=ON ..
- cmake --build .
- ctest
- cd ..
- mkdir ./build_11_simd
- cd ./build_11_simd
- cmake -DGLM_TEST_ENABLE=ON ..
- cmake --build . - cmake --build .
- ctest - ctest
- cd .. - cd ..
@ -33,3 +60,4 @@ script:

View File

@ -47,11 +47,7 @@ glm::mat4 camera(float Translate, glm::vec2 const & Rotate)
| Service | System | Compiler | Status | | Service | System | Compiler | Status |
| ------- | ------ | -------- | ------ | | ------- | ------ | -------- | ------ |
| [Drone](https://drone.io/github.com/g-truc/glm) | Linux 64 bits | GCC 4.6.3 | [![Build Status](https://drone.io/github.com/g-truc/glm/status.png)](https://drone.io/github.com/g-truc/glm/latest) | | [Drone](https://drone.io/github.com/g-truc/glm) | Linux 64 bits | GCC 4.6.3 | [![Build Status](https://drone.io/github.com/g-truc/glm/status.png)](https://drone.io/github.com/g-truc/glm/latest) |
| ------- | ------ | -------- | ------ | | [Travis CI](https://travis-ci.org/g-truc/glm)| Linux 64 bits | Clang 3.4, Clang 3.9, GCC 4.9, GCC 6.1 | [![Travis CI](https://travis-ci.org/g-truc/glm.svg?branch=master)](https://travis-ci.org/g-truc/glm)
| [Travis CI]| macOS, Linux 64 bits | Clang, GCC 4.6.3 | [![Travis CI](https://travis-ci.org/g-truc/glm.svg?branch=master)](https://travis-ci.org/g-truc/glm)
## Release notes ## Release notes