File: .travis.yml

package info (click to toggle)
python-seqcluster 1.2.9%2Bds-7
  • links: PTS, VCS
  • area: contrib
  • in suites: sid
  • size: 113,648 kB
  • sloc: python: 5,308; makefile: 175; sh: 122; javascript: 55
file content (40 lines) | stat: -rw-r--r-- 1,315 bytes parent folder | download | duplicates (5)
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
sudo: required
dist: trusty
language: python
python:
    - "3.6"
    - "2.7"
notifications:
  email:
    recipients:
    - lorena.pantano@gmail.com
    on_failure: always
before_install:
- echo $TRAVIS_PYTHON_VERSION
- miniconda="Miniconda3-latest-Linux-x86_64.sh"
- if [[ $TRAVIS_PYTHON_VERSION == "2.7" ]] ; then miniconda="Miniconda2-latest-Linux-x86_64.sh"; fi
- wget -O miniconda.sh http://repo.continuum.io/miniconda/${miniconda}
- bash miniconda.sh -b -p ~/install
- export PATH=~/install/bin/:$PATH
- conda install --yes -c conda-forge -c bioconda memory_profiler openjdk pysam pybedtools pandas numpy scipy biopython progressbar2 pyyaml bedtools samtools mirtop viennarna -q
- pip install -r requirements.txt
# scipy pandas pybedtools progressbar pip biopython nose scipy setuptools pyyaml -q
- python setup.py install
script:
- seqcluster --version
- nosetests
branches:
  only:
  - master
  - devel
deploy:
  provider: pypi
  user: lpantano
  skip_existing: true
  on:
    all_branches: true
    condition: $TRAVIS_BRANCH =~ ^master|devel$
    distributions: sdist bdist_wheel
    repo: lpantano/seqcluster
  password:
    secure: CcHxZZOvi2OeXgVhHZbF0cGZd3nuTJ9mZ2QO7LmqU/Ri7s0nsmn3WL02F7aG9sJD+yliR0S3CN6QR430CVwnkHwefDSQrgZ6yMzdViWzWnaycu+xOscIaRtczvkAvg3Ye4yljvbk+7ZohowVl+3GVP+fKmeds+7ET8Ul9JMbt+Q=