| 1 |
language: python |
| 2 |
dist: bionic |
| 3 |
arch: |
| 4 |
- AMD64 |
| 5 |
- ppc64le |
| 6 |
python: |
| 7 |
- "3.7" |
| 8 |
- "3.6" |
| 9 |
before_install: |
| 10 |
- sudo apt-get update -qq |
| 11 |
- sudo apt-get install uuid-dev |
| 12 |
- wget http://taskwarrior.org/download/task-2.4.4.tar.gz |
| 13 |
- gunzip task-2.4.4.tar.gz |
| 14 |
- tar xf task-2.4.4.tar |
| 15 |
- cd task-2.4.4 |
| 16 |
- cmake . |
| 17 |
- make |
| 18 |
- sudo make install |
| 19 |
- sudo apt-get install -qq pandoc |
| 20 |
- task --version |
| 21 |
- pip install --upgrade pip |
| 22 |
- pip install taskw |
| 23 |
- pip install responses |
| 24 |
- pip install PySimpleSOAP |
| 25 |
- pip install phabricator |
| 26 |
- | |
| 27 |
if [[ "$TRAVIS_CPU_ARCH" == "ppc64le" ]]; then |
| 28 |
sudo chown -Rv $USER:$GROUP ~/.cache/pip/wheels |
| 29 |
fi |
| 30 |
- cd $TRAVIS_BUILD_DIR |
| 31 |
env: |
| 32 |
- JIRAVERSION=2.0.0 |
| 33 |
- JIRAVERSION=1.0.10 |
| 34 |
|
| 35 |
matrix: |
| 36 |
exclude: |
| 37 |
- python: "3.7" |
| 38 |
env: JIRAVERSION=1.0.10 |
| 39 |
|
| 40 |
install: |
| 41 |
- pip install .[jira,megaplan,activecollab,bts,bugzilla,trac,gmail] |
| 42 |
- pip install codecov |
| 43 |
- pip install coverage |
| 44 |
script: nosetests -w tests --with-coverage --cover-branches --cover-package=bugwarrior -v |
| 45 |
after_success: codecov |
| 46 |
|