shadowsocks/.travis.yml

38 lines
1.7 KiB
YAML
Raw Normal View History

2014-05-02 05:19:42 +00:00
language: python
python:
- 2.6
- 2.7
2014-10-31 10:29:27 +00:00
- 3.3
- 3.4
2014-06-02 10:28:57 +00:00
- pypy
2014-07-11 09:35:47 +00:00
cache:
directories:
- dante-1.4.0
2014-05-02 05:19:42 +00:00
before_install:
- sudo apt-get update -qq
2014-07-11 09:41:22 +00:00
- sudo apt-get install -qq build-essential libssl-dev swig python-m2crypto python-numpy dnsutils
2014-12-11 04:43:16 +00:00
- pip install m2crypto salsa20 pep8 pyflakes nose coverage
2014-07-11 09:35:47 +00:00
- sudo tests/socksify/install.sh
2014-12-10 15:15:24 +00:00
- sudo tests/libsodium/install.sh
2014-05-02 05:19:42 +00:00
script:
2014-08-26 16:02:24 +00:00
- pep8 .
2014-10-31 08:14:28 +00:00
- pyflakes .
2014-12-11 04:43:16 +00:00
- coverage run tests/nose_plugin.py -v
- python setup.py sdist
2014-12-11 04:43:16 +00:00
- python tests/test.py --with-coverage -c tests/aes.json
- python tests/test.py --with-coverage -c tests/aes-ctr.json
- python tests/test.py --with-coverage -c tests/aes-cfb1.json
- python tests/test.py --with-coverage -c tests/aes-cfb8.json
- python tests/test.py --with-coverage -c tests/rc4-md5.json
- python tests/test.py --with-coverage -c tests/salsa20.json
- python tests/test.py --with-coverage -c tests/chacha20.json
- python tests/test.py --with-coverage -c tests/salsa20-ctr.json
- python tests/test.py --with-coverage -c tests/table.json
- python tests/test.py --with-coverage -c tests/server-multi-ports.json
- python tests/test.py --with-coverage -s tests/server-multi-passwd.json -c tests/server-multi-passwd-client-side.json
- python tests/test.py --with-coverage -c tests/workers.json
- python tests/test.py --with-coverage -s tests/ipv6.json -c tests/ipv6-client-side.json
- python tests/test.py --with-coverage -b "-m rc4-md5 -k testrc4 -s 127.0.0.1 -p 8388" -a "-m rc4-md5 -k testrc4 -s 127.0.0.1 -p 8388 -l 1081"
- python tests/test.py --with-coverage -b "-m aes-256-cfb -k testrc4 -s 127.0.0.1 -p 8388" -a "-m aes-256-cfb -k testrc4 -s 127.0.0.1 -p 8388 -l 1081"
- coverage report --include=shadowsocks/*