Skip to content

Commit 7d38989

Browse files
committed
Merge pull request #38 from apcera/travis_ci_setup
Travis ci setup done
2 parents 10fd8ed + 9205a22 commit 7d38989

File tree

2 files changed

+22
-3
lines changed

2 files changed

+22
-3
lines changed

.travis.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
language: go
2+
3+
sudo: required
4+
services:
5+
- docker
6+
7+
before_install:
8+
- sudo apt-get update -q
9+
- sudo apt-get install -y gcc libkrb5-dev
10+
11+
install:
12+
- go get golang.org/x/tools/cmd/vet
13+
14+
script:
15+
- go vet ./...
16+
- go fmt ./...
17+
- go test -v ./...
18+
- cd test/
19+
- ./run-heimdal.sh

test/docker/client/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ RUN apt-get -y install \
1010
libsasl2-modules-gssapi-mit \
1111
wget
1212
RUN (cd /tmp && wget https://storage.googleapis.com/golang/go1.5.linux-amd64.tar.gz && tar xvf go1.5.linux-amd64.tar.gz && mv go/ /opt)
13-
ENV GOROOT="/opt/go"
13+
ENV GOROOT /opt/go
1414

1515
ADD krb5.conf.template /tmp/krb5.conf.template
1616
ENV KRB5_CONFIG_TEMPLATE /tmp/krb5.conf.template
1717
ENV KRB5_CONFIG /opt/go-gssapi-test-client/krb5.conf
18-
ENV GSSAPI_PATH=/usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2
19-
ENV TEST_DIR=/opt/go-gssapi-test-client
18+
ENV GSSAPI_PATH /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2
19+
ENV TEST_DIR /opt/go-gssapi-test-client
2020
ADD entrypoint.sh /opt/go-gssapi-test-client/entrypoint.sh
2121
ENTRYPOINT /opt/go-gssapi-test-client/entrypoint.sh

0 commit comments

Comments
 (0)