forked from GateNLP/gateplugin-Python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (32 loc) · 836 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
# IMPORTANT: this file is here for reference, we are not actually building
# this project using travis!
# The configuration below does not work: instead of python 3.6.1, python 2.7 is run in the
# script part.
#
# Commented out from an earlier version:
# install: true
language: java
before_install:
- pyenv install 3.6.1
- pyenv global 3.6.1
- pip install sortedcontainers
- cp .travis-m2-settings.xml $HOME/.m2/settings.xml
script:
- pyenv versions
- pyenv virtualenvs
- pyenv install 3.6.1
- pip list
- python --version
- mvn site -B
jdk:
- openjdk8
git:
depth: 2
# for deploying we need to have the secret in settings
# deploy:
# provider: script
# script: "mvn -B -V deploy"
# on:
# all_branches: true
# condition: $TRAVIS_BRANCH =~ ^[0-9]+\.[0-9]+(?:\.[0-9]+)?$
# skip_cleanup: true