-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
34 lines (27 loc) · 1.01 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
---
dist: trusty # "Ubuntu Trusty" - has more up-to-date Java & Python
sudo: required
language: python
python:
- "2.7"
before_install:
- ls -lthra
- jdk_switcher use oraclejdk8
- java -version
- python --version
- which pip
- "pip install scipy" # includes numpy. "pip install --user ..." is preferred, but not on Travis
- "pip install scikit-learn"
install:
- mvn install
# - mvn com.github.spotbugs:spotbugs-maven-plugin:spotbugs # spotbugs goal produces a report target/spotbugsXml.xml
- mvn com.github.spotbugs:spotbugs-maven-plugin:check # check goal produces a report and produces build failed if bugs
# the spotbugsXml.xml file is easiest read in a web browser
# see http://spotbugs.readthedocs.io/en/latest/maven.html and https://spotbugs.github.io/spotbugs-maven-plugin/index.html for more info
script:
- mvn cobertura:cobertura # for codecov
- "python src/main/python/edu/ung/phys/trainNetwork.py"
after_success:
- bash <(curl -s https://codecov.io/bash)
notifications:
emails: false