forked from progval/Limnoria
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
54 lines (50 loc) · 1.38 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
54
language: python
sudo: true
install:
- if [ "$WITH_OPT_DEPS" = "true" ] ; then pip install -vr requirements.txt pytest; fi
- git clone https://github.com/ProgVal/irctest.git
- echo "y" | pip uninstall limnoria || true
# command to run tests, e.g. python setup.py test
script:
- echo $TRAVIS_PYTHON_VERSION
- python setup.py install
- supybot-test test -v --plugins-dir=./plugins/ --no-network
- if [ "$WITH_OPT_DEPS" = "true" ] -a [[ "$TRAVIS_PYTHON_VERSION" =~ ^3\.[4-9] ]] ; then cd irctest; pytest --controllers irctest.controllers.limnoria; fi
notifications:
email: false
matrix:
include:
- python: "3.4"
env: WITH_OPT_DEPS=false
dist: trusty
- python: "3.5"
env: WITH_OPT_DEPS=false
dist: trusty
- python: "3.6"
env: WITH_OPT_DEPS=false
dist: trusty
- python: "3.7"
env: WITH_OPT_DEPS=false
dist: xenial
- python: "3.7"
env: WITH_OPT_DEPS=true
dist: xenial
- python: "3.8"
env: WITH_OPT_DEPS=true
dist: xenial
- python: "3.9"
env: WITH_OPT_DEPS=true
dist: xenial
- python: "nightly"
env: WITH_OPT_DEPS=true
dist: xenial
- python: "pypy3"
env: WITH_OPT_DEPS=false
dist: trusty
- python: "nightly"
env: WITH_OPT_DEPS=true
dist: xenial
allow_failures:
- python: "pypy3"
env: WITH_OPT_DEPS=true
dist: xenial