forked from DiamondLightSource/daq-eclipse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (25 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
language: java
# whitelist
branches:
only:
- master
jdk:
- oraclejdk8
before_install:
- chmod +x ./org.eclipse.scanning.releng/build/commit-msg.sh
- bash ./org.eclipse.scanning.releng/build/commit-msg.sh
- git clone --depth=50 --branch=master https://github.com/eclipse/richbeans.git ../../eclipse/org.eclipse.richbeans
- git clone --depth=50 --branch=master https://github.com/eclipse/dawnsci.git ../../eclipse/org.eclipse.dawnsci
- git clone --depth=50 --branch=master https://github.com/DawnScience/jeromq.git ../../jeromq
- git clone --depth=50 --branch=master https://github.com/DawnScience/dawn-hdf.git ../../dawn-hdf
# Run the build from org.eclipse.scanning
install:
- cd ../../eclipse
- mv ../DiamondLightSource/daq-eclipse org.eclipse.scanning
- cd org.eclipse.scanning
# Set LD_LIBRARY_PATH for the tests
env:
- LD_LIBRARY_PATH=/home/travis/build/dawn-hdf/hdf.hdf5lib/lib/linux-x86_64
# compile and test
script:
- mvn clean install surefire:test -Dtest.includes=org/eclipse/scanning/**/Suite.java