forked from CMU-Robotics-Club/RoboBuggy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
25 lines (22 loc) · 890 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
language: java
sudo: false # run on travis's container infrastructure
jdk:
- oraclejdk8
# TODO msebek: consolidate this logic into one script, then have both builders call it.
install:
- curl -L https://services.gradle.org/distributions/gradle-2.7-bin.zip -o gradle-2.7-bin.zip
- unzip gradle-2.7-bin.zip
- export BUGGY_ROOT=`pwd`
- export GRADLE_HOME=$BUGGY_ROOT/gradle-2.7
- export GRADLE_BIN=$GRADLE_HOME/bin
- export PATH=$PATH:$GRADLE_BIN
script:
- echo 'the end is nigh, silly drivers'
- ls; pwd; java -version
- echo $PATH
- echo $HOME
- echo $BUGGY_ROOT
# for running the build and tests of the high level code
- (cd Legacy/real_time/surface_src/java_src/Alice && $GRADLE_BIN/gradle build)
- bash Legacy/real_time/surface_src/java_src/Alice/travisStyleCheck.sh
- bash Electrical/Transistor/code/travisStyleCheck.sh