Skip to content

Commit 97f8f18

Browse files
committed
integration tested
1 parent 8c42eeb commit 97f8f18

File tree

11 files changed

+1064
-6
lines changed

11 files changed

+1064
-6
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
tests

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
tests/test-func/test-out.log
2+
target

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ services:
1111
- docker
1212

1313
script:
14-
make build
14+
make test

Makefile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,12 @@ REPO ?= softprops/lambda-rust
44
TAG ?= "$(REPO):$(VERSION)-rust-$(RUST_VERSION)"
55

66
publish: build
7-
docker push $(TAG)
8-
docker push $(REPO):latest
7+
@docker push $(TAG)
8+
@docker push $(REPO):latest
99

1010
build:
11-
docker build --build-arg RUST_VERSION=$(RUST_VERSION) -t $(TAG) .
12-
docker tag $(TAG) $(REPO):latest
11+
@docker build --build-arg RUST_VERSION=$(RUST_VERSION) -t $(TAG) .
12+
@docker tag $(TAG) $(REPO):latest
13+
14+
test: build
15+
@tests/test.sh

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ a `BIN` environment variable set to the name of the binary to be build and packa
4242

4343
```sh
4444
$ docker run --rm \
45-
-e BIN={your-binary-name}
45+
-e BIN={your-binary-name} \
4646
-v ${PWD}:/code \
4747
-v ${HOME}/.cargo/registry:/root/.cargo/registry \
4848
-v ${HOME}/.cargo/git:/root/.cargo/git \

tests/test-func/.gitignore

Whitespace-only changes.

0 commit comments

Comments
 (0)