Skip to content

Commit 8efebcd

Browse files
committed
added stages
1 parent 3eb396c commit 8efebcd

File tree

1 file changed

+21
-10
lines changed

1 file changed

+21
-10
lines changed

.travis.yml

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,31 @@
11
language: python
22
python:
33
- "2.7"
4-
- "3.4"
4+
# - "3.4"
55
- "3.5"
66
- "3.6"
7+
78
env:
89
- PYTHONPATH=$PYTHONPATH:./src
10+
911
install:
1012
- pip install -r test_requirements.txt
11-
script:
12-
- pytest
1313

14-
deploy:
15-
provider: pages
16-
skip_cleanup: true
17-
github_token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
18-
keep_history: true
19-
on:
20-
branch: master
14+
15+
jobs:
16+
include:
17+
- stage: test
18+
- script: pytest
19+
- script: echo "testing complete"
20+
- stage: deploy
21+
script: echo "deploying"
22+
23+
24+
#deploy:
25+
# provider: pages
26+
# skip_cleanup: true
27+
# github_token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
28+
# keep_history: true
29+
# on:
30+
# branch: master
31+

0 commit comments

Comments
 (0)