forked from stanfordnlp/CoreNLP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
27 lines (22 loc) · 861 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
language: java
sudo: required
jdk:
- openjdk8
# - oraclejdk8
# `openjdk8` not available
install:
# download models (see `README.md`)
- wget http://nlp.stanford.edu/software/stanford-corenlp-models-current.jar
- wget http://nlp.stanford.edu/software/stanford-english-corenlp-models-current.jar
- mvn install:install-file -Dfile=stanford-corenlp-models-current.jar -DgroupId=edu.stanford.nlp -DartifactId=stanford-corenlp -Dversion=4.2.0 -Dclassifier=models -Dpackaging=jar
- mvn install:install-file -Dfile=stanford-english-corenlp-models-current.jar -DgroupId=edu.stanford.nlp -DartifactId=stanford-corenlp -Dversion=4.2.0 -Dclassifier=models-english -Dpackaging=jar
- mv stanford-corenlp-models-current.jar stanford-corenlp-4.2.0-models.jar
# necessary for `mvn install`
script:
- ant
- ./gradlew
- mvn install
#blocklist
branches:
except:
- gh-pages