blob: 4245150f58fa6968968282c1dcc57496ef537745 (
plain)
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
|
checkout:
post:
- >
if [ -n "$CI_PULL_REQUEST" ]; then
PR_ID=${CI_PULL_REQUEST##*/}
git fetch origin +refs/pull/$PR_ID/merge:
git checkout -qf FETCH_HEAD
fi
dependencies:
pre:
- pyenv local 2.7.9
override:
- pip install tox
test:
override:
- tox -e flake8
- tox -e py27
deployment:
release:
tag: /.*/
commands:
- (true)
|