Explorar el Código

Update build files

tags/v0.13^2
9seconds hace 7 años
padre
commit
b81505ec21
Se han modificado 2 ficheros con 3 adiciones y 15 borrados
  1. 1
    6
      .travis.yml
  2. 2
    9
      Dockerfile

+ 1
- 6
.travis.yml Ver fichero

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

+ 2
- 9
Dockerfile Ver fichero

@@ -1,7 +1,7 @@
1 1
 ###############################################################################
2 2
 # BUILD STAGE
3 3
 
4
-FROM golang:1.10-alpine
4
+FROM golang:1.11-alpine
5 5
 
6 6
 RUN set -x \
7 7
   && apk --no-cache --update add \
@@ -13,14 +13,7 @@ RUN set -x \
13 13
     upx \
14 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 18
 RUN set -x \
26 19
   && cd /go/src/github.com/9seconds/mtg \

Loading…
Cancelar
Guardar