File tree Expand file tree Collapse file tree 1 file changed +61
-0
lines changed
Expand file tree Collapse file tree 1 file changed +61
-0
lines changed Original file line number Diff line number Diff line change 1+ version : 2.1
2+
3+ jobs :
4+ it-tests :
5+ docker :
6+ - image : openjdk:8
7+ environment :
8+ SBT_VERSION : 0.13.17
9+ steps :
10+ - run :
11+ name : Get sbt binary
12+ command : |
13+ apt update && apt install -y curl
14+ curl -L -o sbt-$SBT_VERSION.deb https://dl.bintray.com/sbt/debian/sbt-$SBT_VERSION.deb
15+ dpkg -i sbt-$SBT_VERSION.deb
16+ rm sbt-$SBT_VERSION.deb
17+ apt-get clean && apt-get autoclean
18+ - checkout
19+ - restore_cache :
20+ key : sbt-cache
21+ - run :
22+ name : SBT Test
23+ command : sbt it:test
24+ build :
25+ docker :
26+ - image : openjdk:8
27+ environment :
28+ SBT_VERSION : 0.13.17
29+ steps :
30+ - run :
31+ name : Get sbt binary
32+ command : |
33+ apt update && apt install -y curl
34+ curl -L -o sbt-$SBT_VERSION.deb https://dl.bintray.com/sbt/debian/sbt-$SBT_VERSION.deb
35+ dpkg -i sbt-$SBT_VERSION.deb
36+ rm sbt-$SBT_VERSION.deb
37+ apt-get clean && apt-get autoclean
38+ - checkout
39+ - restore_cache :
40+ key : sbt-cache
41+ - run :
42+ name : SBT Test
43+ command : sbt test
44+ - run :
45+ name : SBT Package
46+ command : sbt universal:packageBin
47+ - save_cache :
48+ key : sbt-cache
49+ paths :
50+ - " ~/.ivy2/cache"
51+ - " ~/.sbt"
52+ - " ~/.m2"
53+
54+ workflows :
55+ version : 2
56+ build :
57+ jobs :
58+ - build
59+ - it-tests :
60+ requires :
61+ - build
You can’t perform that action at this time.
0 commit comments