-
Notifications
You must be signed in to change notification settings - Fork 45
/
lifecycles-ubuntu1604-stable.yaml
153 lines (153 loc) · 3.41 KB
/
lifecycles-ubuntu1604-stable.yaml
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
#
# THIS IS NO LONGER REFERENCED; KEPT FOR ADDING FUTURE SUPPORT
#
c:
friendlyName: C
defaultKey: make
make:
script: ./configure && make && make test
cpp:
friendlyName: C++
defaultKey: make
make:
script: ./configure && make && make test
clojure:
friendlyName: Clojure
defaultKey: lein2
lein2:
install: lein deps
script: lein test
erlang:
friendlyName: Erlang
defaultKey: rebar1
rebar1:
fileExistsCondition: rebar.config
fallbackKey: rebar2
install: rebar get-deps
script: rebar compile && rebar skip_deps=true eunit
rebar2:
fileExistsCondition: Rebar.config
fallbackKey: make
install: rebar get-deps
script: rebar compile && rebar skip_deps=true eunit
make:
script: make test
go:
friendlyName: Go
defaultKey: make
make:
fileExistsCondition: Makefile
fallbackKey: go
install: go get -d -v ./... && go build -v ./...
script: make
go:
install: go get -d -v ./... && go build -v ./...
script: go test -v ./...
groovy:
friendlyName: Groovy
defaultKey: gradlew
gradlew:
fileExistsCondition: gradlew
fallbackKey: gradle
install: ./gradlew assemble
script: ./gradlew check
gradle:
fileExistsCondition: build.gradle
fallbackKey: maven
install: gradle assemble
script: gradle check
maven:
fileExistsCondition: pom.xml
fallbackKey: ant
install: mvn install -DskipTests=true
script: mvn test
ant:
fileExistsCondition: build.xml
script: ant test
haskell:
friendlyName: Haskell
defaultKey: cabal
cabal:
install: cabal install --only-dependencies --enable-tests
script: cabal configure --enable-tests && cabal build && cabal test
java:
friendlyName: Java
defaultKey: gradlew
gradlew:
fileExistsCondition: gradlew
fallbackKey: gradle
install: ./gradlew assemble
script: ./gradlew check
gradle:
fileExistsCondition: build.gradle
fallbackKey: maven
install: gradle assemble
script: gradle check
maven:
fileExistsCondition: pom.xml
fallbackKey: ant
install: mvn install -DskipTests=true
script: mvn test
ant:
fileExistsCondition: build.xml
script: ant test
node_js:
friendlyName: Node.js
defaultKey: npm
npm:
install: npm install
script: npm test
perl:
friendlyName: Perl
defaultKey: Module::Build
Module::Build:
fileExistsCondition: Build.PL
fallbackKey: EUMM
install: cpanm --quiet --installdeps --notest .
script: perl Build.PL && ./Build test
EUMM:
fileExistsCondition: Makefile.PL
fallbackKey: make
install: cpanm --quiet --installdeps --notest .
script: perl Makefile.PL && make test
make:
install: cpanm --quiet --installdeps --notest .
script: make
php:
friendlyName: PHP
defaultKey: phpunit
phpunit:
script: phpunit
python:
friendlyName: Python
defaultKey: dummy
dummy: {
}
ruby:
friendlyName: Ruby
defaultKey: rake1
rake1:
fileExistsCondition: Gemfile.lock
fallbackKey: rake2
install: bundle install --jobs=3 --retry=3 --deployment
script: bundle exec rake
rake2:
install: bundle install --jobs=3 --retry=3
script: bundle exec rake
rust:
friendlyName: Rust
defaultKey: cargo
cargo:
script:
- cargo build --verbose
- cargo test --verbose
scala:
friendlyName: Scala
defaultKey: sbt
sbt:
script: sbt ++$TRAVIS_SCALA_VERSION test
shell:
friendlyName: Shell
defaultKey: none
none: {
}