summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-06-12 03:10:14 -0400
committerBen Morrison <ben@gbmor.dev>2019-06-12 03:10:14 -0400
commitfff90c740578399893711be7b1e73c79bb494d97 (patch)
tree13c83dfa0afaf87dd188d653946d715235e1568a
parentc2af13309490228b2e821b8f390afdd57018b3ab (diff)
downloadgetwtxt-fff90c740578399893711be7b1e73c79bb494d97.tar.gz
build flags and travis script changes
-rw-r--r--.travis.yml8
-rw-r--r--Makefile3
2 files changed, 4 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml
index 81a92e8..043fdca 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -16,15 +16,13 @@ env:
 before_script:
   - sudo apt-get update
   - sudo apt-get install -y libc6:i386 libstdc++6:i386
+  - cd svc/
   - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
   - chmod +x ./cc-test-reporter
   - ./cc-test-reporter before-build
 
 script: 
-  - cd svc
-  - go test -v --coverprofile=../c.out
+  - go test -v --coverprofile=c.out
+  - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
   - cd ..
   - make
-
-after_script:
-  - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
diff --git a/Makefile b/Makefile
index 2151717..b27b392 100644
--- a/Makefile
+++ b/Makefile
@@ -3,8 +3,7 @@ _INSTDIR=$(PREFIX)
 BINDIR?=$(_INSTDIR)/getwtxt
 VERSION?=$(shell git tag | grep ^v | sort -V | tail -n 1)
 GOFLAGS?=-tags netgo \
-				 -ldflags '-X github.com/getwtxt/getwtxt/svc.Vers=${VERSION} -extldflags "-static"' \
-				 -buildmode pie
+				 -ldflags '-X github.com/getwtxt/getwtxt/svc.Vers=${VERSION} -extldflags "-static"'
 
 getwtxt: getwtxt.go go.mod go.sum
 	go build $(GOFLAGS) \
/.emacs.d/lisp/init-packages.el?h=sops&id=f972147a4a924f91502611bfc1f58135b7b71cf0'>f972147 ^
a020f45 ^


d0db566 ^

4266fc9 ^
82a42c2 ^


0b7b8e2 ^

82a42c2 ^
0b7b8e2 ^

82a42c2 ^
ecc14cd ^
0b7b8e2 ^
82a42c2 ^
4266fc9 ^
82a42c2 ^


0b7b8e2 ^

d0db566 ^


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