File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ # Use container-based travis workers
2+ sudo : false
3+
4+ language : python
5+
6+ python :
7+ - 2.6
8+ - 2.7
9+ # - 3.3
10+ # - 3.4
11+ # - "3.5.0b4"
12+
13+ before_install :
14+ - MYMCREPO=https://repo.continuum.io/miniconda
15+ - MYMCBUNDLE=Miniconda-latest-Linux-x86_64.sh
16+ - mkdir -p ~/pkgs/
17+ - pushd ~/pkgs/
18+ - wget --timestamping ${MYMCREPO}/${MYMCBUNDLE}
19+ - test -x ~/mc/bin/conda || bash ${MYMCBUNDLE} -b -f -p ~/mc
20+ - export PATH="${HOME}/mc/bin:${PATH}"
21+ - conda update conda --yes
22+ - conda remove --name=testenv --yes --offline --all
23+ - conda create --name=testenv --yes
24+ python=$TRAVIS_PYTHON_VERSION pip setuptools numpy coverage
25+ - source activate testenv
26+ - popd
27+
28+ install :
29+ - git fetch origin --tags
30+ - python setup.py install
31+
32+ script :
33+ - coverage run --source diffpy.utils -m diffpy.utils.tests.run
34+
35+ after_success :
36+ - pip install codecov
37+ - codecov
You can’t perform that action at this time.
0 commit comments