2015-01-02 17:58:31 +03:00
|
|
|
language: python
|
2015-01-05 20:00:10 +03:00
|
|
|
|
2015-12-13 21:54:16 +03:00
|
|
|
sudo: required
|
|
|
|
dist: precise
|
|
|
|
group: edge
|
2015-12-13 21:46:19 +03:00
|
|
|
|
2015-12-13 21:34:51 +03:00
|
|
|
python:
|
|
|
|
- "2.7"
|
|
|
|
- "3.4"
|
|
|
|
|
2015-01-05 20:00:10 +03:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
|
2015-12-14 09:28:07 +03:00
|
|
|
env:
|
2015-12-15 13:49:30 +03:00
|
|
|
- PIP_DATE=2015-10-01 PIP=1 INSTALL=0 DEVELOP=0
|
|
|
|
- PIP_DATE=2015-10-01 PIP=0 INSTALL=1 DEVELOP=0
|
|
|
|
- PIP_DATE=2015-10-01 PIP=0 INSTALL=0 DEVELOP=1
|
2015-12-14 09:28:07 +03:00
|
|
|
|
2015-01-02 17:58:31 +03:00
|
|
|
install:
|
2015-12-18 19:47:06 +03:00
|
|
|
- python build.py prepare $PIP_DATE
|
2015-12-15 12:50:10 +03:00
|
|
|
|
2015-12-18 19:47:06 +03:00
|
|
|
script:
|
2015-12-15 14:42:26 +03:00
|
|
|
- if [[ "$PIP" == "1" ]]; then
|
2015-12-18 19:47:06 +03:00
|
|
|
python build.py pip;
|
2015-12-15 14:42:26 +03:00
|
|
|
fi
|
|
|
|
- if [[ "$INSTALL" == "1" ]]; then
|
2015-12-18 19:47:06 +03:00
|
|
|
python build.py setup-install;
|
2015-12-15 14:42:26 +03:00
|
|
|
fi
|
|
|
|
- if [[ "$DEVELOP" == "1" ]]; then
|
2015-12-18 19:47:06 +03:00
|
|
|
python build.py setup-develop;
|
2015-12-15 14:42:26 +03:00
|
|
|
fi
|
2015-12-18 19:47:06 +03:00
|
|
|
- python build.py test
|