Skip to content

Commit d561b4d

Browse files
author
Ayla Khan
committed
Enable trusty beta build. Note that build tends to time out.
1 parent 5190445 commit d561b4d

File tree

5 files changed

+15
-47
lines changed

5 files changed

+15
-47
lines changed

.travis.yml

Lines changed: 15 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,31 @@
1-
sudo: required
2-
language:
3-
- cpp
1+
language: c++
42

5-
os:
6-
#Too many slow builds on Travis OSX images causing build errors. Turning off to speed up turn around. We can investigate later. For now, main developers should build on Mac before merging.
7-
#- osx
8-
- linux
9-
10-
compiler:
11-
- clang
12-
# TODO: gcc chokes on a boost pthread usage, disabling for now.
13-
#- gcc
14-
15-
#matrix:
16-
# exclude:
17-
# - os: osx
18-
# compiler: g++
3+
matrix:
4+
include:
5+
- os: linux
6+
dist: trusty
7+
sudo: required
8+
compiler: gcc
9+
- os: linux
10+
dist: trusty
11+
sudo: required
12+
compiler: clang
13+
# - os: osx
14+
# osx_image: xcode7.2
1915

2016
# check environment (copied from libgit2sharp)
2117
before_install:
2218
- date -u
2319
- uname -a
24-
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then ./ci/linux_before_install.sh; fi
25-
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then ./ci/osx_before_install.sh; fi
26-
27-
# make sure cmake is installed, set up latest GCC C++ compiler if necessary
28-
install:
29-
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then ./ci/linux_install.sh; fi
30-
# - if [ "${TRAVIS_OS_NAME}" = "linux" -a "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
31-
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then ./ci/osx_install.sh; fi
20+
#- sudo apt-get update -qq
3221

3322
# TODO: could move script to separate file
3423
# Not running unit tests at the moment, so turn off testing, which will
3524
# hopefully make OS X builds a bit faster
3625
script:
3726
- cd bin
3827
- cmake -DDOWNLOAD_TOOLKITS:BOOL=OFF -DBUILD_TESTING:BOOL=OFF ../Superbuild
39-
- make -j8
28+
- make -j4 1> /dev/null
4029
# make SCIRunTestData_external
4130
# && make test
4231

ci/linux_before_install.sh

Lines changed: 0 additions & 5 deletions
This file was deleted.

ci/linux_install.sh

Lines changed: 0 additions & 8 deletions
This file was deleted.

ci/osx_before_install.sh

Lines changed: 0 additions & 3 deletions
This file was deleted.

ci/osx_install.sh

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)