-
Notifications
You must be signed in to change notification settings - Fork 142
Expand file tree
/
Copy path.travis.yml
More file actions
58 lines (50 loc) · 1.78 KB
/
Copy path.travis.yml
File metadata and controls
58 lines (50 loc) · 1.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#https://travis-ci.org/IntelPNI/brainiak
branches:
only:
- master
matrix:
include:
- os: linux
dist: trusty
sudo: required
language: python
python: 3.4
- os: linux
dist: trusty
sudo: required
language: python
python: 3.5
- os: osx
osx_image: xcode7.1
sudo: required
language: generic
env: HINT=Yosemite MPI=mpich
before_install:
- brew update
- brew install python3
- os: osx
osx_image: xcode7.3
sudo: required
language: generic
env: HINT=ElCapitan MPI=mpich
before_install:
- brew update
- brew install python3
install:
- if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then sudo apt-get -y install build-essential cmake libgomp1 mpich2 python3-pip; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install llvm mpich; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export CC=/usr/local/opt/llvm/bin/clang; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export CXX=/usr/local/opt/llvm/bin/clang++; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export LDFLAGS="-L/usr/local/opt/llvm/lib $LDFLAGS"; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export CPPFLAGS="-I/usr/local/opt/llvm/include $CPPFLAGS"; fi
- pip3 install -U pip virtualenv
script:
- ./pr-check.sh pr-check
notifications:
webhooks:
urls:
#- https://webhooks.gitter.im/e/TOSETUP
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: alwaysfailure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always