Skip to content

Commit da986d2

Browse files
authored
Merge pull request #2325 from martin-frbg/travisosx
Cleanup Travis IOS xbuild and disable FORTRAN on 32bit and ios builds for now
2 parents f95989c + 6bc487d commit da986d2

File tree

1 file changed

+15
-33
lines changed

1 file changed

+15
-33
lines changed

.travis.yml

Lines changed: 15 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ dist: precise
44
sudo: true
55
language: c
66

7-
matrix:
7+
jobs:
88
include:
99
- &test-ubuntu
1010
os: linux
11+
stage: test
1112
compiler: gcc
1213
addons:
1314
apt:
@@ -17,23 +18,14 @@ matrix:
1718
- COMMON_FLAGS="DYNAMIC_ARCH=1 TARGET=NEHALEM NUM_THREADS=32"
1819
script:
1920
- set -e
20-
- make QUIET_MAKE=1 $COMMON_FLAGS $BTYPE
21+
- travis_wait 45 make QUIET_MAKE=1 $COMMON_FLAGS $BTYPE
2122
- make -C test $COMMON_FLAGS $BTYPE
2223
- make -C ctest $COMMON_FLAGS $BTYPE
2324
- make -C utest $COMMON_FLAGS $BTYPE
2425
env:
2526
- TARGET_BOX=LINUX64
2627
- BTYPE="BINARY=64"
2728

28-
- <<: *test-ubuntu
29-
os: linux-ppc64le
30-
before_script:
31-
- COMMON_FLAGS="DYNAMIC_ARCH=1 TARGET=POWER8 NUM_THREADS=32"
32-
env:
33-
# for matrix annotation only
34-
- TARGET_BOX=PPC64LE_LINUX
35-
- BTYPE="BINARY=64 USE_OPENMP=1"
36-
3729
- <<: *test-ubuntu
3830
env:
3931
- TARGET_BOX=LINUX64
@@ -67,6 +59,7 @@ matrix:
6759
- BTYPE="BINARY=32"
6860

6961
- os: linux
62+
stage: test
7063
compiler: gcc
7164
addons:
7265
apt:
@@ -87,12 +80,13 @@ matrix:
8780
# that don't require sudo.
8881
- &test-alpine
8982
os: linux
83+
stage: test
9084
dist: trusty
9185
sudo: true
9286
language: minimal
9387
before_install:
94-
- "wget 'https://raw.githubusercontent.com/alpinelinux/alpine-chroot-install/v0.9.0/alpine-chroot-install' \
95-
&& echo 'e5dfbbdc0c4b3363b99334510976c86bfa6cb251 alpine-chroot-install' | sha1sum -c || exit 1"
88+
- "wget 'https://raw.githubusercontent.com/alpinelinux/alpine-chroot-install/v0.6.0/alpine-chroot-install' \
89+
&& echo 'a827a4ba3d0817e7c88bae17fe34e50204983d1e alpine-chroot-install' | sha1sum -c || exit 1"
9690
- alpine() { /alpine/enter-chroot -u "$USER" "$@"; }
9791
install:
9892
- sudo sh alpine-chroot-install -p 'build-base gfortran perl linux-headers'
@@ -126,10 +120,11 @@ matrix:
126120
- <<: *test-alpine
127121
env:
128122
- TARGET_BOX=LINUX64_MUSL
129-
- BTYPE="BINARY=64 NO_AFFINITY=1 USE_OPENMP=0 NO_LAPACK=0 TARGET=CORE2"
123+
- BTYPE="BINARY=64 NO_AFFINITY=1 USE_OPENMP=0 NO_LAPACK=0 TARGET=core2"
130124

131125
- &test-cmake
132126
os: linux
127+
stage: test
133128
compiler: clang
134129
addons:
135130
apt:
@@ -156,30 +151,17 @@ matrix:
156151
env:
157152
- CMAKE=1
158153

159-
- &test-macos
154+
- osx-gcc
160155
os: osx
161-
osx_image: xcode10.1
162-
before_script:
163-
- COMMON_FLAGS="DYNAMIC_ARCH=1 TARGET=NEHALEM NUM_THREADS=32"
156+
stage: test
157+
osx_image: xcode8
158+
before_script: *common-before
164159
- brew update
165-
- brew install gcc@8 # for gfortran
160+
- brew install gcc # for gfortran
166161
script:
167162
- travis_wait 45 make QUIET_MAKE=1 $COMMON_FLAGS $BTYPE
168163
env:
169-
- BTYPE="BINARY=64 INTERFACE64=1 FC=gfortran-8"
170-
171-
- <<: *test-macos
172-
osx_image: xcode8.3
173-
env:
174-
- BTYPE="BINARY=32 FC=gfortran-8"
175-
176-
- <<: *test-macos
177-
osx_image: xcode10.1
178-
env:
179-
- COMMON_FLAGS="NUM_THREADS=32"
180-
- CC="/Applications/Xcode-10.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -isysroot /Applications/Xcode-10.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk"
181-
- CFLAGS="-O2 -isysroot /Applications/Xcode-10.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk -arch arm64 -miphoneos-version-min=10.0"
182-
- BTYPE="TARGET=ARMV8 BINARY=64 HOSTCC=clang"
164+
- BTYPE="BINARY=64 INTERFACE64=1"
183165

184166
# whitelist
185167
branches:

0 commit comments

Comments
 (0)