Skip to content

Commit e8edace

Browse files
committed
Release 0.5.5
2 parents 25a554e + 697dd5d commit e8edace

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+5436
-385
lines changed

.travis.yml

Lines changed: 208 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,133 +1,303 @@
11
language:
2-
- c
3-
4-
env:
5-
- C_STANDARD=99 CXX_STANDARD=98
2+
- generic
63

74
matrix:
85
include:
96
- os: linux
10-
dist: trusty
11-
compiler: clang-3.6
7+
dist: xenial
8+
compiler: gcc-6
129
addons:
10+
apt:
11+
sources: ubuntu-toolchain-r-test
12+
packages:
13+
- gcc-6
14+
- g++-6
15+
- gfortran-6
16+
- libpython3.5-dev
17+
- cython3
18+
- python3-numpy
19+
env: CC='gcc-6' CXX='g++-6' FC='gfortran-6' FORTRAN_STANDARD='2003' PYTHON_VERSION='3.5' COVERAGE='ON'
20+
21+
- os: linux
22+
dist: xenial
23+
compiler: clang-3.6
24+
addons: &clang36
1325
apt:
1426
sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-trusty']
15-
packages: clang-3.6
27+
packages:
28+
- clang-3.6
29+
- g++-7
30+
- gfortran-6
31+
- libpython3.5-dev
32+
- cython3
33+
- python3-numpy
34+
env: CC='clang-3.6' CXX='clang++-3.6' FC='gfortran-6' FORTRAN_STANDARD='2003' PYTHON_VERSION='3.5'
1635

1736
- os: linux
18-
dist: trusty
19-
compiler: clang
37+
dist: xenial
38+
compiler: clang-4.0
2039
before_install:
2140
- export LD_LIBRARY_PATH=/usr/local/clang/lib:$LD_LIBRARY_PATH
22-
addons:
41+
addons: &clang40
2342
apt:
24-
sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-trusty']
25-
packages: clang-3.4
43+
sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-trusty-4.0']
44+
packages:
45+
- clang-4.0
46+
- g++-7
47+
- gfortran-6
48+
- libpython3.5-dev
49+
- cython3
50+
- python3-numpy
51+
env: CC='clang-4.0' CXX='clang++-4.0' FC='gfortran-6' FORTRAN_STANDARD='2003' PYTHON_VERSION='3.5'
2652

2753
- os: linux
28-
dist: trusty
54+
dist: xenial
2955
compiler: gcc-4.4
3056
addons:
3157
apt:
3258
sources: ubuntu-toolchain-r-test
33-
packages: gcc-4.4
59+
packages:
60+
- gcc-4.4
61+
- g++-4.4
62+
- gfortran-4.4
63+
- libpython3.5-dev
64+
- cython3
65+
- python3-numpy
66+
env: CC='gcc-4.4' CXX='g++-4.4' FC='gfortran-4.4' FORTRAN_STANDARD='2003' PYTHON_VERSION='3.5'
3467

3568
- os: linux
36-
dist: trusty
69+
dist: xenial
3770
compiler: gcc-4.7
3871
addons:
3972
apt:
4073
sources: ubuntu-toolchain-r-test
41-
packages: gcc-4.7
74+
packages:
75+
- gcc-4.7
76+
- g++-4.7
77+
- gfortran-4.7
78+
- libpython3.5-dev
79+
- cython3
80+
- python3-numpy
81+
env: CC='gcc-4.7' CXX='g++-4.7' FC='gfortran-4.7' FORTRAN_STANDARD='2003' PYTHON_VERSION='3.5'
4282

4383
- os: linux
44-
dist: trusty
84+
dist: xenial
4585
compiler: gcc-4.8
4686
addons:
4787
apt:
4888
sources: ubuntu-toolchain-r-test
49-
packages: gcc-4.8
89+
packages:
90+
- gcc-4.8
91+
- g++-4.8
92+
- gfortran-4.8
93+
- libpython3.5-dev
94+
- cython3
95+
- python3-numpy
96+
env: CC='gcc-4.8' CXX='g++-4.8' FC='gfortran-4.8' FORTRAN_STANDARD='2003' PYTHON_VERSION='3.5'
5097

5198
- os: linux
52-
dist: trusty
99+
dist: xenial
53100
compiler: gcc-4.9
54101
addons:
55102
apt:
56103
sources: ubuntu-toolchain-r-test
57-
packages: gcc-4.9
104+
packages:
105+
- gcc-4.9
106+
- g++-4.9
107+
- gfortran-4.9
108+
- libpython3.5-dev
109+
- cython3
110+
- python3-numpy
111+
env: CC='gcc-4.9' CXX='g++-4.9' FC='gfortran-4.9' FORTRAN_STANDARD='2003' PYTHON_VERSION='3.5'
58112

59113
- os: linux
60114
dist: trusty
61115
compiler: gcc-5
62116
addons:
63117
apt:
64118
sources: ubuntu-toolchain-r-test
65-
packages: gcc-5
119+
packages:
120+
- gcc-5
121+
- g++-5
122+
- gfortran-5
123+
- libpython2.7
124+
- python-pip
125+
env: CC='gcc-5' CXX='g++-5' FC='gfortran-5' FORTRAN_STANDARD='2003' PYTHON_VERSION='2.7'
66126

67127
- os: linux
68128
dist: trusty
69129
compiler: gcc-6
70130
addons:
71131
apt:
72132
sources: ubuntu-toolchain-r-test
73-
packages: gcc-6
74-
env:
75-
- C_STANDARD=90
133+
packages:
134+
- gcc-6
135+
- g++-6
136+
- gfortran-6
137+
- libpython2.7
138+
- python-pip
139+
env: CC='gcc-6' CXX='g++-6' FC='gfortran-6' FORTRAN_STANDARD='2003' PYTHON_VERSION='2.7'
76140

77141
- os: linux
78-
dist: trusty
142+
dist: xenial
79143
compiler: gcc-6
80144
addons:
81145
apt:
82146
sources: ubuntu-toolchain-r-test
83-
packages: gcc-6
84-
env:
85-
- C_STANDARD=11
147+
packages:
148+
- gcc-6
149+
- g++-6
150+
- gfortran-6
151+
- libpython3.5-dev
152+
- cython3
153+
- python3-numpy
154+
env: CC='gcc-6' CXX='g++-6' FC='gfortran-6' FORTRAN_STANDARD='2003' PYTHON_VERSION='3.5' C_STANDARD='90'
86155

87156
- os: linux
88-
dist: trusty
157+
dist: xenial
89158
compiler: gcc-6
90159
addons:
91160
apt:
92161
sources: ubuntu-toolchain-r-test
93-
packages: gcc-6
94-
env:
95-
- CXX_STANDARD=11
162+
packages:
163+
- gcc-6
164+
- g++-6
165+
- gfortran-6
166+
- libpython3.5-dev
167+
- cython3
168+
- python3-numpy
169+
env: CC='gcc-6' CXX='g++-6' FC='gfortran-6' FORTRAN_STANDARD='2003' PYTHON_VERSION='3.5' C_STANDARD='11'
96170

97171
- os: linux
98-
dist: trusty
172+
dist: xenial
99173
compiler: gcc-6
100174
addons:
101175
apt:
102176
sources: ubuntu-toolchain-r-test
103-
packages: gcc-6
104-
env:
105-
- CXX_STANDARD=14
177+
packages:
178+
- gcc-6
179+
- g++-6
180+
- gfortran-6
181+
- libpython3.5-dev
182+
- cython3
183+
- python3-numpy
184+
env: CC='gcc-6' CXX='g++-6' FC='gfortran-6' FORTRAN_STANDARD='2003' PYTHON_VERSION='3.5' CXX_STANDARD='11'
106185

107186
- os: linux
108-
dist: trusty
187+
dist: xenial
109188
compiler: gcc-6
110189
addons:
111190
apt:
112191
sources: ubuntu-toolchain-r-test
113-
packages: gcc-6
192+
packages:
193+
- gcc-6
194+
- g++-6
195+
- gfortran-6
196+
- libpython3.5
197+
- cython3
198+
- python3-numpy
199+
env: CC='gcc-6' CXX='g++-6' FC='gfortran-6' FORTRAN_STANDARD='2003' PYTHON_VERSION='3.5' CXX_STANDARD='14'
200+
201+
- os: linux
202+
dist: xenial
203+
compiler: gcc-6
204+
addons:
205+
apt:
206+
sources: ubuntu-toolchain-r-test
207+
packages:
208+
- gcc-6
209+
- g++-6
210+
- gfortran-6
211+
- libpython3.5
212+
- cython3
213+
- python3-numpy
214+
env: CC='gcc-6' CXX='g++-6' FC='gfortran-6' FORTRAN_STANDARD='2008' PYTHON_VERSION='3.5'
215+
216+
- os: linux
217+
dist: xenial
218+
compiler: gcc-7
219+
addons:
220+
apt:
221+
sources: ubuntu-toolchain-r-test
222+
packages:
223+
- gcc-7
224+
- g++-7
225+
- gfortran-7
226+
- libpython3.5
227+
- cython3
228+
- python3-numpy
229+
env: CC='gcc-7' CXX='g++-7' FC='gfortran-7' FORTRAN_STANDARD='2008' PYTHON_VERSION='3.5'
114230

115231
- os: osx
116232
osx_image: xcode7.3
117233
compiler: gcc
234+
env: CC='gcc' CXX='g++' PYTHON_VERSION='3.5'
118235

119236
- os: osx
120237
osx_image: xcode8.3
121238
compiler: gcc
239+
env: CC='gcc' CXX='g++' PYTHON_VERSION='2.7'
122240

123241
- os: osx
124242
osx_image: xcode7.3
125243
compiler: clang
244+
env: CC='clang' CXX='clang++' PYTHON_VERSION='3.5'
126245

127246
- os: osx
128247
osx_image: xcode8.3
129248
compiler: clang
249+
env: CC='clang' CXX='clang++' PYTHON_VERSION='2.7'
130250

131251
script:
252+
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then pyenv root; fi
253+
- |
254+
if [ "$TRAVIS_OS_NAME" = "osx" ] && [ "$PYTHON_VERSION" = "2.7" ]; then
255+
pyenv install 2.7.12;
256+
export PYTHON_INCLUDE_DIR=$(pyenv root)/versions/2.7.12/include/python2.7;
257+
export PYTHON_LIBRARY=$(pyenv root)/versions/2.7.12/lib/libpython2.7.dylib;
258+
export PYTHON_EXECUTABLE=$(pyenv root)/versions/2.7.12/bin/python2.7;
259+
fi
260+
- |
261+
if [ "$TRAVIS_OS_NAME" = "osx" ] && [ "$PYTHON_VERSION" = "3.5" ]; then
262+
pyenv install 3.5.0;
263+
export PYTHON_INCLUDE_DIR=$(pyenv root)/versions/3.5.0/include/python3.5m;
264+
export PYTHON_LIBRARY=$(pyenv root)/versions/3.5.0/lib/libpython3.5m.a;
265+
export PYTHON_EXECUTABLE=$(pyenv root)/versions/3.5.0/bin/python3.5m;
266+
fi
267+
- |
268+
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
269+
$PYTHON_EXECUTABLE -m pip install --upgrade pip;
270+
$PYTHON_EXECUTABLE -m pip install -r ${TRAVIS_BUILD_DIR}/python/requirements.txt;
271+
fi
272+
273+
- |
274+
if [ "$TRAVIS_OS_NAME" = "linux" ]; then
275+
export PYTHON_EXECUTABLE=/usr/bin/python$PYTHON_VERSION;
276+
source /etc/lsb-release;
277+
fi
278+
- |
279+
if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$PYTHON_VERSION" = "2.7" ]; then
280+
export PYTHON_INCLUDE_DIR=/usr/include/python2.7;
281+
export PYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython2.7.so;
282+
fi
283+
- |
284+
if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$PYTHON_VERSION" = "3.5" ]; then
285+
export PYTHON_INCLUDE_DIR=/usr/include/python3.5m;
286+
export PYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.5m.so;
287+
fi
288+
- |
289+
if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$DISTRIB_CODENAME" = "trusty" ] && [ "$PYTHON_VERSION" = "2.7" ]; then
290+
sudo $PYTHON_EXECUTABLE -m pip install --upgrade pip;
291+
sudo $PYTHON_EXECUTABLE -m pip install -r ${TRAVIS_BUILD_DIR}/python/requirements.txt;
292+
fi
293+
- |
294+
if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$DISTRIB_CODENAME" = "trusty" ] && [ "$PYTHON_VERSION" = "3.5" ]; then
295+
echo "Python 3.5 not supported on Ubuntu Trusty";
296+
exit 1;
297+
fi
298+
299+
- printenv | grep PYTHON
132300
- ./travis.sh
133301

302+
after_success:
303+
- if [[ -n "${COVERAGE}" ]]; then bash <(curl -s https://codecov.io/bash); fi

0 commit comments

Comments
 (0)