-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
37 lines (31 loc) · 984 Bytes
/
.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
36
37
<!--
language: python
dist: xenial
python:
- '3.7'
install:
- pip3 install HookTest
script: hooktest ./ --scheme epidoc --workers 3 --verbose 10 --manifest --console table --allowfailure --hookUI "https://ci.perseids.org/api/hook/v2.0/user/repositories/PerseusDL/canonical-pdlpsci"
before_deploy:
- hooktest-build --travis ./
- 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]/PerseusDL/canonical-pdlpsci --tags
- ls -R
deploy:
provider: releases
api_key: $GITPERM
on:
repo: PerseusDL/canonical-pdlpsci
branch: master
env:
global:
major_version: 0
minor_version: 0
-->