mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-11 09:33:49 +00:00
Back to original .travis.yml. Keeping .travis.yml.conan.
This commit is contained in:
parent
b7fbaec9b3
commit
2a5a242624
78
.travis.yml
78
.travis.yml
@ -1,53 +1,29 @@
|
||||
|
||||
env:
|
||||
global:
|
||||
- CONAN_USERNAME="nigels-com"
|
||||
- CONAN_REFERENCE="glew/master"
|
||||
- CONAN_CHANNEL="testing"
|
||||
|
||||
linux: &linux
|
||||
os: linux
|
||||
sudo: required
|
||||
language: python
|
||||
python: "2.7"
|
||||
services:
|
||||
- docker
|
||||
osx: &osx
|
||||
os: osx
|
||||
language: generic
|
||||
matrix:
|
||||
include:
|
||||
|
||||
- <<: *linux
|
||||
env: CONAN_GCC_VERSIONS=4.9 CONAN_DOCKER_IMAGE=lasote/conangcc49
|
||||
- <<: *linux
|
||||
env: CONAN_GCC_VERSIONS=5.4 CONAN_DOCKER_IMAGE=lasote/conangcc54
|
||||
- <<: *linux
|
||||
env: CONAN_GCC_VERSIONS=6.3 CONAN_DOCKER_IMAGE=lasote/conangcc63
|
||||
- <<: *linux
|
||||
env: CONAN_CLANG_VERSIONS=3.9 CONAN_DOCKER_IMAGE=lasote/conanclang39
|
||||
- <<: *linux
|
||||
env: CONAN_CLANG_VERSIONS=4.0 CONAN_DOCKER_IMAGE=lasote/conanclang40
|
||||
- <<: *osx
|
||||
osx_image: xcode7.3
|
||||
env: CONAN_APPLE_CLANG_VERSIONS=7.3
|
||||
- <<: *osx
|
||||
osx_image: xcode8.2
|
||||
env: CONAN_APPLE_CLANG_VERSIONS=8.0
|
||||
- <<: *osx
|
||||
osx_image: xcode8.3
|
||||
env: CONAN_APPLE_CLANG_VERSIONS=8.1
|
||||
|
||||
language: cpp
|
||||
sudo: false
|
||||
install:
|
||||
- chmod +x ./build/conan/.travis/install.sh
|
||||
- ./build/conan/.travis/install.sh
|
||||
script:
|
||||
# Building master
|
||||
- cp -rf ./build/conan/* .
|
||||
- cp -rf ./build/conan/.travis .
|
||||
- chmod +x .travis/run.sh
|
||||
- .travis/run.sh
|
||||
|
||||
# Building released version
|
||||
#- chmod +x ./build/conan/.travis/run.sh
|
||||
#- cd ./build/conan && .travis/run.sh
|
||||
- make -C auto clobber
|
||||
- make extensions
|
||||
- make dist-src
|
||||
- make clean; SYSTEM=linux make
|
||||
- make clean; SYSTEM=linux-osmesa make
|
||||
- make clean; SYSTEM=linux-egl make
|
||||
- make clean; SYSTEM=linux-clang make
|
||||
- make clean; SYSTEM=linux-clang-egl make
|
||||
- pushd build/cmake; git clean -xdf .; cmake -G 'Unix Makefiles' . ; make; popd
|
||||
- pushd build/cmake; git clean -xdf .; cmake -G 'Unix Makefiles' -DGLEW_OSMESA=1 . ; make; popd
|
||||
- pushd build/cmake; git clean -xdf .; cmake -G 'Unix Makefiles' -DGLEW_EGL=1 . ; make; popd
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- git
|
||||
- cmake
|
||||
- dos2unix
|
||||
- libosmesa6-dev
|
||||
- libegl1-mesa-dev
|
||||
artifacts:
|
||||
bucket: glew
|
||||
s3_region: "us-east-1"
|
||||
paths:
|
||||
- $(ls *.zip *.tgz | tr "\n" ":")
|
||||
- $(find doc -type f | tr "\n" ":")
|
||||
|
53
.travis.yml.conan
Normal file
53
.travis.yml.conan
Normal file
@ -0,0 +1,53 @@
|
||||
|
||||
env:
|
||||
global:
|
||||
- CONAN_USERNAME="nigels-com"
|
||||
- CONAN_REFERENCE="glew/master"
|
||||
- CONAN_CHANNEL="testing"
|
||||
|
||||
linux: &linux
|
||||
os: linux
|
||||
sudo: required
|
||||
language: python
|
||||
python: "2.7"
|
||||
services:
|
||||
- docker
|
||||
osx: &osx
|
||||
os: osx
|
||||
language: generic
|
||||
matrix:
|
||||
include:
|
||||
|
||||
- <<: *linux
|
||||
env: CONAN_GCC_VERSIONS=4.9 CONAN_DOCKER_IMAGE=lasote/conangcc49
|
||||
- <<: *linux
|
||||
env: CONAN_GCC_VERSIONS=5.4 CONAN_DOCKER_IMAGE=lasote/conangcc54
|
||||
- <<: *linux
|
||||
env: CONAN_GCC_VERSIONS=6.3 CONAN_DOCKER_IMAGE=lasote/conangcc63
|
||||
- <<: *linux
|
||||
env: CONAN_CLANG_VERSIONS=3.9 CONAN_DOCKER_IMAGE=lasote/conanclang39
|
||||
- <<: *linux
|
||||
env: CONAN_CLANG_VERSIONS=4.0 CONAN_DOCKER_IMAGE=lasote/conanclang40
|
||||
- <<: *osx
|
||||
osx_image: xcode7.3
|
||||
env: CONAN_APPLE_CLANG_VERSIONS=7.3
|
||||
- <<: *osx
|
||||
osx_image: xcode8.2
|
||||
env: CONAN_APPLE_CLANG_VERSIONS=8.0
|
||||
- <<: *osx
|
||||
osx_image: xcode8.3
|
||||
env: CONAN_APPLE_CLANG_VERSIONS=8.1
|
||||
|
||||
install:
|
||||
- chmod +x ./build/conan/.travis/install.sh
|
||||
- ./build/conan/.travis/install.sh
|
||||
script:
|
||||
# Building master
|
||||
- cp -rf ./build/conan/* .
|
||||
- cp -rf ./build/conan/.travis .
|
||||
- chmod +x .travis/run.sh
|
||||
- .travis/run.sh
|
||||
|
||||
# Building released version
|
||||
#- chmod +x ./build/conan/.travis/run.sh
|
||||
#- cd ./build/conan && .travis/run.sh
|
@ -1,29 +0,0 @@
|
||||
language: cpp
|
||||
sudo: false
|
||||
install:
|
||||
script:
|
||||
- make -C auto clobber
|
||||
- make extensions
|
||||
- make dist-src
|
||||
- make clean; SYSTEM=linux make
|
||||
- make clean; SYSTEM=linux-osmesa make
|
||||
- make clean; SYSTEM=linux-egl make
|
||||
- make clean; SYSTEM=linux-clang make
|
||||
- make clean; SYSTEM=linux-clang-egl make
|
||||
- pushd build/cmake; git clean -xdf .; cmake -G 'Unix Makefiles' . ; make; popd
|
||||
- pushd build/cmake; git clean -xdf .; cmake -G 'Unix Makefiles' -DGLEW_OSMESA=1 . ; make; popd
|
||||
- pushd build/cmake; git clean -xdf .; cmake -G 'Unix Makefiles' -DGLEW_EGL=1 . ; make; popd
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- git
|
||||
- cmake
|
||||
- dos2unix
|
||||
- libosmesa6-dev
|
||||
- libegl1-mesa-dev
|
||||
artifacts:
|
||||
bucket: glew
|
||||
s3_region: "us-east-1"
|
||||
paths:
|
||||
- $(ls *.zip *.tgz | tr "\n" ":")
|
||||
- $(find doc -type f | tr "\n" ":")
|
Loading…
Reference in New Issue
Block a user