File tree Expand file tree Collapse file tree 6 files changed +35
-4
lines changed Expand file tree Collapse file tree 6 files changed +35
-4
lines changed Original file line number Diff line number Diff line change
1
+ language : go
2
+ sudo : false
3
+
4
+ go :
5
+ - 1.5.3
6
+ - 1.6
7
+ - tip
8
+
9
+ env :
10
+ global :
11
+ - GO15VENDOREXPERIMENT=1
12
+
13
+ # install: true
14
+ script :
15
+ - make validate
16
+ - make test
17
+ - make bin
18
+
19
+ notifications :
20
+ email :
21
+ on_success : change
22
+ on_failure : always
23
+
24
+ matrix :
25
+ allow_failures :
26
+ - go : tip
27
+
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ validate:
15
15
16
16
# # Run test case for this go project.
17
17
test :
18
- go test ./...
18
+ go list ./... | grep -v ' vendor ' | xargs -L1 go test -v
19
19
20
20
# # Clean everything (including stray volumes).
21
21
clean :
Original file line number Diff line number Diff line change 1
1
# memcache-metrics
2
+ # ** memcache-metrics** <sup ><sub >_ memcached metrics collector for open-falcon_ </sub ></sup >
3
+ [ ![ Build Status] ( https://travis-ci.org/mesos-utility/memcache-metrics.svg?branch=master )] ( https://travis-ci.org/mesos-utility/memcache-metrics )
4
+
2
5
memcached metrics collector for open-falcon.
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ function build() {
17
17
cat << EOF > ./g/git.go
18
18
package g
19
19
const (
20
- COMMIT = "$commit "
20
+ COMMIT ="$commit "
21
21
)
22
22
EOF
23
23
GO15VENDOREXPERIMENT=1; go build -o $app main.go
Original file line number Diff line number Diff line change 1
1
package g
2
+
2
3
const (
3
- COMMIT = "ff3179a "
4
+ COMMIT = "fd6cc60 "
4
5
)
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ if [ -z "$VALIDATE_UPSTREAM" ]; then
5
5
# are running more than one validate bundlescript
6
6
7
7
VALIDATE_REPO=' https://github.com/mesos-utility/memcache-metrics.git'
8
- VALIDATE_BRANCH=' dev '
8
+ VALIDATE_BRANCH=' master '
9
9
10
10
if [ " $TRAVIS " = ' true' -a " $TRAVIS_PULL_REQUEST " != ' false' ]; then
11
11
VALIDATE_REPO=" https://github.com/${TRAVIS_REPO_SLUG} .git"
You can’t perform that action at this time.
0 commit comments