-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
36 lines (31 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
36
language: java
addons:
apt:
packages:
- python3
- python3-pip
branches:
only:
- master
- stable
install: true
before_script:
- python3 --version
- virtualenv -p python3 my_py3
- source my_py3/bin/activate # to activate the python3 environemt
- python -m pip --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org install docutils
- python -m pip --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org install Pygments
- python -m pip freeze
script:
- ./gradlew -Drst2html=`which rst2html.py` build
deploy:
- provider: script
skip_cleanup: true
script: ./gradlew -Drst2html=`which rst2html.py` -Drepos_pwd=${repos_pwd} -Drepos_usr=jql_jars-INTE upload
on:
branch: master
- provider: script
skip_cleanup: true
script: ./gradlew -Drst2html=`which rst2html.py` -Drepos_pwd=${repos_pwd} -Drepos_usr=jql_jars-INTE '-Drelease=' upload
on:
branch: stable