-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
25 lines (24 loc) · 931 Bytes
/
.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
language: python
python:
- '3.5'
env:
global:
secure: "TxYs86fLN8Yw+oN0GShmtLGS5a+NR2x35PcN4U8gEheRGSSxVU8O+MrpGfUZf3CVAT6FfE3zfX2DkV57JlWfP3i7ff5iPtMOEAzbqah41olFVCYCLJdw6J8dbfRcUkWS550b6BAXaWclB0jhtdEP8PmlFpAiRZ0acg3Ynsk+/ew="
before_install:
- sudo apt-get install -qq python-sphinx doxygen graphviz
services:
- docker
install:
- docker pull peragro/peragro-at
- docker build -t peragro/peragro-at . --build-arg CACHEBUST=$(date +%s) --cache-from
peragro/peragro-at
script:
- docker run --rm -it peragro/peragro-at /bin/bash -c "nosetests -v --with-xunit --xunit-file=nosetests.xml
--cover-package=damn_at --with-coverage -e ^rtest.+$ --cover-erase --cover-xml --all-modules
-w /opt/peragro-at/tests/"
after_success:
- docker push
- docker run --rm -e TRAVIS=$TRAVIS -e TRAVIS_JOB_ID=$TRAVIS_JOB_ID -it peragro/peragro-at
/bin/bash -c "coveralls -b /opt/peragro-at/"
- chmod +x bin/deploy.sh
- bash bin/deploy.sh