Browse Source

Update build files

tags/v0.13^2
9seconds 7 years ago
parent
commit
b81505ec21
2 changed files with 3 additions and 15 deletions
  1. 1
    6
      .travis.yml
  2. 2
    9
      Dockerfile

+ 1
- 6
.travis.yml View File

5
 dist: trusty
5
 dist: trusty
6
 
6
 
7
 go:
7
 go:
8
-  - "1.9.x"
9
-  - "1.10.x"
8
+  - "1.11.x"
10
   - master
9
   - master
11
 
10
 
12
 before_script: make prepare
11
 before_script: make prepare
17
   - make critic
16
   - make critic
18
   - make test
17
   - make test
19
 
18
 
20
-cache:
21
-  directories:
22
-    - vendor
23
-
24
 matrix:
19
 matrix:
25
   allow_failures:
20
   allow_failures:
26
     - go: master
21
     - go: master

+ 2
- 9
Dockerfile View File

1
 ###############################################################################
1
 ###############################################################################
2
 # BUILD STAGE
2
 # BUILD STAGE
3
 
3
 
4
-FROM golang:1.10-alpine
4
+FROM golang:1.11-alpine
5
 
5
 
6
 RUN set -x \
6
 RUN set -x \
7
   && apk --no-cache --update add \
7
   && apk --no-cache --update add \
13
     upx \
13
     upx \
14
   && update-ca-certificates
14
   && update-ca-certificates
15
 
15
 
16
-COPY Gopkg.toml Gopkg.lock Makefile /go/src/github.com/9seconds/mtg/
17
-
18
-RUN set -x && \
19
-  cd /go/src/github.com/9seconds/mtg && \
20
-  make -j 4 prepare && \
21
-  make vendor
22
-
23
-COPY . /go/src/github.com/9seconds/mtg
16
+COPY . /go/src/github.com/9seconds/mtg/
24
 
17
 
25
 RUN set -x \
18
 RUN set -x \
26
   && cd /go/src/github.com/9seconds/mtg \
19
   && cd /go/src/github.com/9seconds/mtg \

Loading…
Cancel
Save