Skip to content

Commit 9ddb696

Browse files
HookTest 1.0.0 (#5)
1 parent ad1a18f commit 9ddb696

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.travis.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
language: python
2+
3+
python:
4+
- '3.5'
5+
6+
install:
7+
- pip3 install HookTest==1.0.0
8+
9+
script: hooktest ./ --scheme epidoc --workers 3 --verbose 10 --manifest --console table --countword --allowfailure --hookUI "http://ci.perseids.org/api/hook/v2.0/user/repositories/PerseusDL/canonical-farsiLit"
10+
11+
before_deploy:
12+
- hooktest-build --travis ./
13+
- results=$(cat manifest.txt)
14+
- DATE=`date +%Y-%m-%d`
15+
- git config --global user.email "builds@travis-ci.com"
16+
- git config --global user.name "Travis CI"
17+
- export GIT_TAG=$major_version.$minor_version.$TRAVIS_BUILD_NUMBER
18+
- git tag $GIT_TAG -a -m "$DATE" -m "PASSING FILES" -m "$results"
19+
- git push -q https://$GITPERM@github.com/PerseusDL/canonical-farsiLit --tags
20+
- ls -R
21+
22+
deploy:
23+
provider: releases
24+
api_key: $GITPERM
25+
file: release.tar.gz
26+
skip_cleanup: true
27+
on:
28+
repo: PerseusDL/canonical-farsiLit
29+
branch: master
30+
31+
env:
32+
global:
33+
major_version: 0
34+
minor_version: 0

0 commit comments

Comments
 (0)