Skip to content

Commit 7e56c59

Browse files
authored
Merge pull request #284 from sourceryinstitute/timer-and-travis-update
Add safer timeout for GCC 7 test and compact .travis.yml
2 parents 0b13f03 + 1f6c36d commit 7e56c59

File tree

2 files changed

+10
-21
lines changed

2 files changed

+10
-21
lines changed

.travis.yml

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -27,48 +27,36 @@ matrix:
2727
env:
2828
- BUILD_TYPE="InstallScript"
2929
OSX_PACKAGES="gcc"
30-
- os: linux
30+
- &ubuntu
31+
os: linux
3132
sudo: false
3233
env:
3334
- BUILD_TYPE="CodeCoverage"
3435
cache:
36+
apt: false
3537
directories:
3638
- "$CACHE"
3739
addons:
3840
apt:
3941
sources:
40-
- george-edison55-precise-backports
4142
- ubuntu-toolchain-r-test
43+
- george-edison55-precise-backports
4244
packages:
4345
- gcc-6
4446
- gfortran-6
4547
- g++-6
4648
- binutils
4749
- cmake-data
4850
- cmake
49-
- os: linux
50-
sudo: false
51+
-
52+
<<: *ubuntu
5153
env:
5254
- BUILD_TYPE="Release"
53-
cache:
54-
directories:
55-
- "$CACHE"
56-
addons:
57-
apt:
58-
sources:
59-
- george-edison55-precise-backports
60-
- ubuntu-toolchain-r-test
61-
packages:
62-
- gcc-6
63-
- gfortran-6
64-
- g++-6
65-
- binutils
66-
- cmake-data
67-
- cmake
68-
- os: linux
69-
sudo: false
55+
-
56+
<<: *ubuntu
7057
env:
7158
- BUILD_TYPE="InstallScript"
59+
cache: false
7260
addons:
7361
apt:
7462
sources:

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,7 @@ if(opencoarrays_aware_compiler)
372372
add_mpi_test(async_comp_alloc 6 ${tests_root}/unit/init_register/async_comp_alloc)
373373
# Timeout async_comp_alloc test after 3 seconds to progess past the known failure
374374
set_property(TEST async_comp_alloc PROPERTY TIMEOUT_AFTER_MATCH 3 "known failure")
375+
set_property(TEST async_comp_alloc PROPERTY TIMEOUT 6) # in the event old CMake is being used
375376
endif()
376377
add_mpi_test(get_array 2 ${tests_root}/unit/send-get/get_array)
377378
add_mpi_test(get_self 2 ${tests_root}/unit/send-get/get_self)

0 commit comments

Comments
 (0)