-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.travis.yml
50 lines (42 loc) · 2.13 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
# http://travis-ci.org/mpi4py/mpi4py
language: python
python:
- 2.7
- 3.7
env:
- NUMPY_VERSION=1.15
cache:
directories:
- $TRAVIS_BUILD_DIR/tmp-pfft-1.0.8-alpha2-fftw3
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b -p $HOME/miniconda
- export PATH=$HOME/miniconda/bin:$PATH
- conda update --yes conda
install:
- conda create --yes -n test python=$TRAVIS_PYTHON_VERSION gcc_linux-64
- source activate test
- conda install --yes numpy=$NUMPY_VERSION nose cython
- conda install --yes -c bccp mpi4py mpich
- python setup.py install
- ls $TRAVIS_BUILD_DIR/
script:
- pip install runtests
- python ./runtests.py --mpirun="mpirun -np 4"
- mpirun -n 1 python $PWD/scripts/pfft-roundtrip-matrix.py -v -diag -Nproc 1 1 -Nmesh 13 15 16
- mpirun -n 2 python $PWD/scripts/pfft-roundtrip-matrix.py -v -diag -Nproc 2 1 -Nproc 1 2 -Nmesh 13 15 16
- mpirun -n 4 python $PWD/scripts/pfft-roundtrip-matrix.py -v -diag -Nproc 2 2 -Nmesh 13 15 16
- mpirun -n 4 python $PWD/scripts/pfft-roundtrip-matrix.py -v -diag -Nproc 2 2 -Nmesh 13 15
- bash check_tag.sh pfft/version.py
deploy:
- provider: pypi
distributions: sdist
user: "rainwoodman"
password:
secure: "X1hq86ef/mw184w1lKs5ZnGXXaA9kFJK8A22Ny5K/n6BRSdQkBfkU1gDliT/HKFkH4P1ect4CiFvqokfcydQARMkQIXAaA7d29zqbO3KBAk6keuexh/EFiDBg6I9ZoleZ9oIAbNsXKtFs5bZcTqK2yUSrc8D264+Y9z0mtOxeoDM2+vW+sPgAYEsf0R8svyl/88JgXTcu4BcgRBa+vsFMDBp5BPcryiQUpR6vADyjIXlCRHH/aPAMjU4pPA+m1J0/Thya05JtfcLMsXMshWKAcEYWvqPXFNNDMbxrmGDnSZp4FyMmQw2PJ2U93BZZ0cgQW0qEhMfa3fPehpc0Wtv7jnpkrO8Bi8HmZ+5SDNDNbNi8Pp9uUXcshU2jqtss/5IOjJN0PmXH8MVcHs3eow3geZyaMjUm1su6gV7MDMp505Iv3BM+H/xlwljJerfmK+q6tVoJLzHx7UIyKptPQiJXHzhMW+or1ztPvnqaP02CxwvhEMs8OgzQvdKQSixcrCV1U844f8/kTXQW2p/guejGlBH1DdH6Wgdg0i8gAp9sYOgKtpQH3TYtgh+mxbr9bzuW7YtNvtWHfEOd8eR/iTMmuwV5RNtaBC4optx+y2vAF/M96Mky7jtA3ohU6rdDHDh09sljyJcW0dwmzdYeuN/ulBjLyaBa6IviS2pV1NQoZk="
on:
tags : true
condition : $TRAVIS_PYTHON_VERSION = "2.7"
#notifications:
# email: false