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