File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 6
6
- 1.2
7
7
- 1.3
8
8
- 1.4
9
+ - 1.5
9
10
- tip
10
11
11
12
matrix :
@@ -17,9 +18,10 @@ before_install:
17
18
18
19
install :
19
20
- travis_retry sudo apt-get install memcached
20
- - git submodule init
21
- - git submodule update
22
21
- memcached -h | head -1
23
22
24
- script : make && make test-full
23
+ script :
24
+ - make deps
25
+ - make
26
+ - make test-full
25
27
Original file line number Diff line number Diff line change @@ -11,12 +11,13 @@ build: *.go
11
11
@$(GO ) build
12
12
13
13
deps :
14
- git submodule init
15
- git submodule update
14
+ git submodule update --init --recursive
16
15
17
16
# Yes, this is a hack, but Go's packing is also just stupid.
18
- work-tree : src
19
- ln -s vendor src
17
+ work-tree :
18
+ @if [ ! -e src ]; then \
19
+ ln -s vendor src; \
20
+ fi
20
21
21
22
test : build work-tree
22
23
@memcached -p 11289 & echo $$ ! > test.pids
You can’t perform that action at this time.
0 commit comments