-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
53 lines (46 loc) · 1.89 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
52
53
language: python
sudo: false
services:
- docker
python:
- '2.7'
# - '3.4'
# - '3.5'
- '3.6'
# - 'pypy'
# - 'pypy3'
before_install:
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh
-O miniconda.sh ; else wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh
-O miniconda.sh ; fi
- bash miniconda.sh -b -p /home/travis/mc
- export PATH=/home/travis/mc/bin:$PATH
- export CONDA_PACKAGES="scipy"
install:
- conda config --set always_yes yes --set changeps1 no
- conda update conda
- conda create -n env python=$TRAVIS_PYTHON_VERSION $CONDA_PACKAGES
- source activate env
- echo $PATH
- which python
- python --version
- python -m pip install -U pip
- pip install -r requirements.txt
- pip install .[matlab]
- pip install coveralls
- docker pull chambm/pwiz-skyline-i-agree-to-the-vendor-licenses:x64
script:
- travis_wait 60 coverage run --source=pycamv setup.py test
after_success:
- coveralls
deploy:
provider: pypi
user: Nader.Morshed
password:
secure: "pec9QO9nIQGT8kuYSuVhnS600vwVYIvkqjaLDZp87axf6X/yOWWSw2nqE9p/M8UgDVd5HxLOOFoKhMWnZzz5OwEcb6L6m8+uHZH797Qu67Huu4kKyCnGoiBrmZ09dBG9jSsuNJMeg9v08o46CZj4EPxQo8PHoW/1Od1aD+ecooDgsTrpSpdLVScGqGQsv3qZpaSXkopLaNJyNBdQI4HDYpSLH6ufWBSs+q8mL1a8FmGQQR7qBbYtPDE5d/0dLp57Y+lXkjd2AajzhD1wQ0DLqHrNkHiLr6a/9HDSit5k7Xd44l/8JUQpfCtomT7DXkJxUHfy6Kfx6ha4GPMFEok0IbF+AR9BapM/9CnR3HVpfXt6oJVCIIM1vHEiFXPyAI26OJVZcDoXwchHTF2yNMofCBYDs+FMcOlT9pmDfZDKBKTIJgdCyjze2gQ8wHy+oiAfXuzbnWvD1ds8+xGcz4MkdvTsPlUkNII6rlJej6UkBlzdGaGWFUtutJK1PdHeHMFu9mpruWV2X64jgs8fpJVKiVWuFb2/JHav9o/iQyMLgu7Fhy8hXGuh1fgYuiU+zP303AKnFl1Q7CNWqfA1v5AnPtpV2xstUIeAqoMXKOeF29YJIWwNJsn0gt/wsOxE5glB3GdYBZGRT9a+cyjjHSGBMgSmJ7LJLLiQUOVA7Xdex0E="
on:
tags: true
distributions: bdist_wheel
python: '3.6' # Universal wheel, don't need to deploy with Py2.7
repo: white-lab/pycamverter
skip_existing: true