-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
48 lines (42 loc) · 1.54 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
40
41
42
43
44
45
46
47
48
language: java
env:
global:
matrix:
include:
- os: linux
language: java
dist: trusty
env:
WATCH_JAVA_HOME=~/.jabba/jdk/[email protected]
- os: osx
language: java
osx_image: xcode9.3
env:
WATCH_JAVA_HOME=~/.jabba/jdk/[email protected]/Contents/Home
before_install:
- rm -r $(find $HOME/.sbt -name "*-SNAPSHOT") || true
- curl -sL https://raw.githubusercontent.com/shyiko/jabba/0.11.0/install.sh | bash; . ~/.jabba/jabba.sh
- git clone --single-branch --branch terminal-fixes-appveyor https://github.com/eatkins/sbt.git /tmp/sbt-build
- ~/.jabba/bin/jabba install [email protected]
- wget https://github.com/sbt/sbt/releases/download/v1.3.13/sbt-1.3.13.tgz
- tar -xvf sbt-1.3.13.tgz
- rm sbt-1.3.13.tgz
- mv sbt /tmp/sbt
- DIR=$(pwd)
- cd /tmp/sbt-build
- /tmp/sbt/bin/sbt publishLocalBin
- cd $DIR
script:
- $WATCH_JAVA_HOME/bin/javac -cp lib/swoval/file-tree-views-2.1.1.jar src/main/java/build/performance/Main.java -d target/classes
- $WATCH_JAVA_HOME/bin/java -cp "target/classes:src/main/resources:lib/swoval/file-tree-views-2.1.1.jar" build.performance.Main -i 11 -w 5 -e 5000 sbt-1.4.0-SNAPSHOT
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.coursier/cache/v1
- $HOME/Library/Caches/Coursier/v1
- $HOME/.sbt
before_cache:
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -delete
- find $HOME/.sbt -name "*.lock" -delete
- rm -r $(find $HOME/.sbt -name "*-SNAPSHOT") || true