forked from eclipse/dawnsci
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
39 lines (30 loc) · 1.06 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
37
38
39
sudo: false # use containers
language: java
cache:
directories:
- $HOME/.m2 # Maven dependencies
# whitelist
branches:
only:
- master
jdk:
- oraclejdk8
# Run the commit message check and then check out some required dependencies.
# TODO Currently check in messages are not checked for dawnsci.
# - chmod +x ./org.eclipse.dawnsci.releng/build/commit-msg.sh
# - bash ./org.eclipse.dawnsci.releng/build/commit-msg.sh
before_install:
- git clone --depth=50 --branch=master https://github.com/eclipse/richbeans.git ../org.eclipse.richbeans
- git clone --depth=50 --branch=master https://github.com/DawnScience/dawn-third.git ../../dawn-third
# Run the build from org.eclipse.dawnsci
install:
- cd ..
- mv dawnsci org.eclipse.dawnsci
- cd org.eclipse.dawnsci
# Set LD_LIBRARY_PATH for the tests
env:
- LD_LIBRARY_PATH=/home/travis/build/dawn-third/ncsa.hdf/lib/linux-x86_64
# Maven compile and test
# No need to run this as default travis will find maven and run it
script:
- mvn clean install surefire:test -Dtest.includes=org/eclipse/dawnsci/**/Suite.java