forked from brainiak/brainiak
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
51 lines (45 loc) · 1.19 KB
/
.travis.yml
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
matrix:
include:
- os: linux
dist: xenial
sudo: required
language: python
python: 3.6
addons: &linux_addons
apt: &apt
packages:
- build-essential libgomp1 libmpich-dev mpich
- os: linux
dist: xenial
sudo: required
language: python
python: 3.8
addons: *linux_addons
- os: osx
language: generic
env: &macos_env
- CC=/usr/local/opt/llvm/bin/clang
- CXX=/usr/local/opt/llvm/bin/clang++
- LDFLAGS="-L/usr/local/opt/llvm/lib
-Wl,-rpath,/usr/local/opt/llvm/lib $LDFLAGS"
- CPPFLAGS="-I/usr/local/opt/llvm/include $CPPFLAGS"
- HOMEBREW_NO_AUTO_UPDATE=1
before_install: &macos_before_install
- brew install llvm mpich python3
# Build and test conda packages
- os: linux
dist: xenial
install: ./.conda/bin/install-miniconda
script: .conda/bin/build
- os: osx
install: ./.conda/bin/install-miniconda
script: .conda/bin/build
allow_failures:
- os: linux
script: .conda/bin/build
install:
- python3 -m pip install -U pip codecov
script:
- ./pr-check.sh
after_success:
- codecov