forked from progval/Supybot-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (29 loc) · 1.14 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
language: python
sudo: false
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "pypy"
- "pypy3"
addons:
apt:
packages:
- python-pypy.translator.sandbox
install:
- travis_retry pip install -vr https://raw.githubusercontent.com/ProgVal/Limnoria/testing/requirements.txt > /dev/null
- travis_retry pip install -v git+https://github.com/ProgVal/Limnoria.git@testing > /dev/null
- travis_retry pip install -vr requirements.txt
# command to run tests, e.g. python setup.py test
script:
- echo $TRAVIS_PYTHON_VERSION
- export PYTHON_MAJOR_VERSION=$(python -c "import sys;print(sys.version_info[0])")
- echo $PYTHON_MAJOR_VERSION
- if [ "$PYTHON_MAJOR_VERSION" = "3" ]; then export DISABLED_PLUGINS="--exclude ./Twitter --exclude ./TwitterStream --exclude ./MegaHAL --exclude ./GUI --exclude ./WebStats"; else export DISABLED_PLUGINS="--exclude ./Bitoduc --exclude ./PypySandbox --exclude ./PPP --exclude ./Bitoduc --exclude ./Markovgen"; fi
- supybot-test --plugins-dir=. --no-network --exclude=./NoLatin1 --exclude ./AlternativeTo --exclude ./Json $DISABLED_PLUGINS
notifications:
email: false
matrix:
fast_finish: true