forked from DEGoodmanWilson/conan-gmp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
94 lines (67 loc) · 2.27 KB
/
.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
env:
global:
- CONAN_REFERENCE: "gmp/6.1.2"
- CONAN_USERNAME: "bitprim"
- CONAN_LOGIN_USERNAME: "bitprim-bintray"
- CONAN_CHANNEL: "stable"
- CONAN_UPLOAD: "https://api.bintray.com/conan/bitprim/bitprim"
- CONAN_STABLE_BRANCH_PATTERN: "release/*"
linux: &linux
os: linux
sudo: required
language: python
python: "3.6"
services:
- docker
osx: &osx
os: osx
language: generic
matrix:
include:
# Linux, GCC, libstdc++ ------------------------------------------------------
- <<: *linux
env: CONAN_GCC_VERSIONS=8 CONAN_DOCKER_IMAGE=lasote/conangcc8
- <<: *linux
env: CONAN_GCC_VERSIONS=7 CONAN_DOCKER_IMAGE=lasote/conangcc7
- <<: *linux
env: CONAN_GCC_VERSIONS=6 CONAN_DOCKER_IMAGE=lasote/conangcc6
- <<: *linux
env: CONAN_GCC_VERSIONS=5 CONAN_DOCKER_IMAGE=lasote/conangcc5
# - <<: *linux
# env: CONAN_GCC_VERSIONS=4.9 CONAN_DOCKER_IMAGE=lasote/conangcc49
# Linux, Clang, libstdc++ ----------------------------------------------------
- <<: *linux
env: CONAN_CLANG_VERSIONS=6.0 CONAN_DOCKER_IMAGE=lasote/conanclang60
- <<: *linux
env: CONAN_CLANG_VERSIONS=5.0 CONAN_DOCKER_IMAGE=lasote/conanclang50
- <<: *linux
env: CONAN_CLANG_VERSIONS=4.0 CONAN_DOCKER_IMAGE=lasote/conanclang40
# - <<: *linux
# env: CONAN_CLANG_VERSIONS=3.9 CONAN_DOCKER_IMAGE=lasote/conanclang39
# macOS, apple-Clang, libc++ -------------------------------------------------
- <<: *osx
osx_image: xcode10.1
env: CONAN_APPLE_CLANG_VERSIONS=10.0
# - <<: *osx
# osx_image: xcode9.3
# env: CONAN_APPLE_CLANG_VERSIONS=9.1
# - <<: *osx
# osx_image: xcode9
# env: CONAN_APPLE_CLANG_VERSIONS=9.0
# - <<: *osx
# osx_image: xcode8.3
# env: CONAN_APPLE_CLANG_VERSIONS=8.1
# # - <<: *osx
# # osx_image: xcode7.3
# # env: CONAN_APPLE_CLANG_VERSIONS=7.3
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sysctl -n machdep.cpu.brand_string ; fi
script:
- cd src
- make all
install:
- chmod +x .travis/install.sh
- ./.travis/install.sh
script:
- chmod +x .travis/run.sh
- ./.travis/run.sh