forked from OpenGreekAndLatin/english_trans-dev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (29 loc) · 1 KB
/
.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
25
26
27
28
29
30
31
32
33
34
35
language: python
python:
- '3.5'
install:
- pip3 install HookTest>=1.0.0
script: hooktest ./ --console table --scheme epidoc --workers 3 --verbose 5 --manifest --countword --allowfailure --hookUI "http://ci.perseids.org/api/hook/v2.0/user/repositories/OpenGreekAndLatin/english_trans-dev"
before_deploy:
- hooktest-build --travis --txt ./
- results=$(cat manifest.txt)
- DATE=`date +%Y-%m-%d`
- git config --global user.email "[email protected]"
- git config --global user.name "Travis CI"
- export GIT_TAG=$major_version.$minor_version.$TRAVIS_BUILD_NUMBER
- git add -A
- git commit -m "Removed failing files" -m "Release $GIT_TAG"
- git tag $GIT_TAG -a -m "$DATE" -m "PASSING FILES" -m "$results"
- git push -q https://[email protected]/OpenGreekAndLatin/english_trans-dev --tags
- ls -R
deploy:
provider: releases
api_key: $GITPERM
skip_cleanup: true
on:
repo: OpenGreekAndLatin/english_trans-dev
branch: master
env:
global:
major_version: 0
minor_version: 0