Clone
Stefan Sobernig <stefan.sobernig@wu.ac.at>
committed
on 17 Jun 19
Fix build environment to be able to fetch Tcl tarballs via https; updated tclkits for linux, macos, and win.
define-incrementals + 7 more
.travis.yml (+28 -55)
1 1 language: c
2 2 sudo: false
3   # os:
4   # - osx
5   # - linux
6   # compiler:
7   # - gcc
8   # - clang
  3
9 4 env:
10   #  matrix:
11   #  - TCLTAG=core-8-6-branch
12   #  - TCLTAG=core-8-6-9
13   #  - TCLTAG=core-8-5-branch
14   #  - TCLTAG=core-8-5-19
15   #  - TCLTAG=core-8-7-a1
16   #  - TCLTAG=core-8-branch
17 5   global:
18 6   - KITS=$HOME/kits
  7
  8 branches:
  9   only:
  10   - master
  11   - 2.2.0
  12
19 13 matrix:
20 14   include:
21 15    # ----------------------------
22 16     - os: linux
23 17       dist: xenial
24 18       compiler: clang
25         env:
26           - TCLTAG=core-8-branch
  19       env: TCLTAG=core-8-branch
27 20     - os: linux
28 21       dist: xenial
29 22       compiler: gcc-7
30 23       addons:
31 24         apt:
32 25           sources:
33 26             - ubuntu-toolchain-r-test
34 27           packages:
35 28             - g++-7
36         env:
37           - TCLTAG=core-8-branch
  29       env: TCLTAG=core-8-branch
38 30     - os: osx
39 31       osx_image: xcode10.2
40 32       compiler: clang
41         env:
42           - TCLTAG=core-8-branch
  33       env: TCLTAG=core-8-branch
43 34     - os: osx
44 35       osx_image: xcode10.2      
45 36       compiler: gcc-8
46         env:
47          - TCLTAG=core-8-branch
  37       env: TCLTAG=core-8-branch
48 38      # ----------------------------
49 39     - os: linux
50 40       dist: xenial
51 41       compiler: clang
52         env:
53           - TCLTAG=core-8-7-a1
  42       env: TCLTAG=core-8-7-a1
54 43     - os: linux
55 44       dist: xenial
56 45       compiler: gcc-7
57 46       addons:
58 47         apt:
59 48           sources:
60 49             - ubuntu-toolchain-r-test
61 50           packages:
62 51             - g++-7
63         env:
64           - TCLTAG=core-8-7-a1
  52       env: TCLTAG=core-8-7-a1
65 53     - os: osx
66 54       osx_image: xcode10.2
67 55       compiler: clang
68         env:
69           - TCLTAG=core-8-7-a1
  56       env: TCLTAG=core-8-7-a1
70 57     - os: osx
71 58       osx_image: xcode10.2      
72 59       compiler: gcc-8
73         env:
74          - TCLTAG=core-8-7-a1
  60       env: TCLTAG=core-8-7-a1
75 61     # ----------------------------
76 62     - os: linux
77 63       dist: xenial
78 64       compiler: clang
79         env:
80           - TCLTAG=core-8-5-19
  65       env: TCLTAG=core-8-5-19
81 66     - os: linux
82 67       dist: xenial
83 68       compiler: gcc-7
84 69       addons:
85 70         apt:
86 71           sources:
87 72             - ubuntu-toolchain-r-test
88 73           packages:
89 74             - g++-7
90         env:
91           - TCLTAG=core-8-5-19
  75       env: TCLTAG=core-8-5-19
92 76     - os: osx
93 77       osx_image: xcode10.2
94 78       compiler: clang
95         env:
96           - TCLTAG=core-8-5-19
  79       env: TCLTAG=core-8-5-19
97 80     - os: osx
98 81       osx_image: xcode10.2      
99 82       compiler: gcc-8
100 83       env:
101 84        -  TCLTAG=core-8-5-19
102 85    # ----------------------------
103 86     - os: linux
104 87       dist: xenial
105 88       compiler: clang
106         env:
107           - TCLTAG=core-8-5-branch
  89       env: TCLTAG=core-8-5-branch
108 90     - os: linux
109 91       dist: xenial
110 92       compiler: gcc-7
111 93       addons:
112 94         apt:
113 95           sources:
114 96             - ubuntu-toolchain-r-test
115 97           packages:
116 98             - g++-7
117         env:
118           - TCLTAG=core-8-5-branch
  99       env: TCLTAG=core-8-5-branch
119 100     - os: osx
120 101       osx_image: xcode10.2
121 102       compiler: clang
122         env:
123           - TCLTAG=core-8-5-branch
  103       env: TCLTAG=core-8-5-branch
124 104     - os: osx
125 105       osx_image: xcode10.2      
126 106       compiler: gcc-8
127 107       env:
128 108         - TCLTAG=core-8-5-branch
129 109   # ----------------------------
130 110     - os: linux
131 111       dist: xenial
132 112       compiler: clang
133         env:
134           - TCLTAG=core-8-6-9
  113       env: TCLTAG=core-8-6-9
135 114     - os: linux
136 115       dist: xenial
137 116       compiler: gcc-7
138 117       addons:
139 118         apt:
140 119           sources:
141 120             - ubuntu-toolchain-r-test
142 121           packages:
143 122             - g++-7
144         env:
145           - TCLTAG=core-8-6-9
  123       env: TCLTAG=core-8-6-9
146 124     - os: osx
147 125       osx_image: xcode10.2
148 126       compiler: clang
149         env:
150           - TCLTAG=core-8-6-9
  127       env: TCLTAG=core-8-6-9
151 128     - os: osx
152 129       osx_image: xcode10.2      
153 130       compiler: gcc-8
154 131       env:
155 132         - TCLTAG=core-8-6-9
156 133   # ----------------------------
157 134     - os: linux
158 135       dist: xenial
159 136       compiler: clang
160         env:
161           - TCLTAG=core-8-6-branch
  137       env: TCLTAG=core-8-6-branch
162 138     - os: linux
163 139       dist: xenial
164 140       compiler: gcc-7
165 141       addons:
166 142         apt:
167 143           sources:
168 144             - ubuntu-toolchain-r-test
169 145           packages:
170 146             - g++-7
171         env:
172           - TCLTAG=core-8-6-branch
  147       env: TCLTAG=core-8-6-branch
173 148     - os: osx
174 149       osx_image: xcode10.2
175 150       compiler: clang
176         env:
177           - TCLTAG=core-8-6-branch
  151       env: TCLTAG=core-8-6-branch
178 152     - os: osx
179 153       osx_image: xcode10.2      
180 154       compiler: gcc-8
181         env:
182           - TCLTAG=core-8-6-branch
  155       env: TCLTAG=core-8-6-branch
183 156   allow_failures:
184 157   - env: TCLTAG=core-8-6-branch
185 158   - env: TCLTAG=core-8-5-branch
186 159   - env: TCLTAG=core-8-branch
187 160   fast_finish: true
188 161 cache:
189 162   directories:
190 163   - "$KITS"
191 164 before_install:
192 165 - openssl aes-256-cbc -K $encrypted_8d1065ce6623_key -iv $encrypted_8d1065ce6623_iv -in deploy_key.enc -out ./deploy_key -d
193 166 - chmod 600 ./deploy_key
194 167 - if echo "$TRAVIS_COMMIT_MESSAGE" | grep -F -q "[skip travis]" ; then echo "[skip
195 168   travis] has been found, exiting" && exit 0 ; else echo "[skip travis] has not been
196 169   found, continuing" ; fi
197 170 install:
198 171 - mkdir -p $KITS
199 172 - if [ $TRAVIS_OS_NAME = linux ]; then URL=http://kitcreator.rkeene.org/kits/840dec4286102c869d85bae3b0dcd32565e7bf12/tclkit;
200 173   else URL=http://kitcreator.rkeene.org/kits/6967b89da1f6af7b12cdc82819f3bdb13a661242/tclkit;
201 174   fi
202 175 - if [ ! -f ${KITS}/tclkit.$TRAVIS_OS_NAME ]; then wget -O ${KITS}/tclkit.$TRAVIS_OS_NAME