Skip to content

Commit

Permalink
Modified install and frontend build configuration in travis
Browse files Browse the repository at this point in the history
  • Loading branch information
frouioui committed Dec 4, 2020
1 parent 9ec5ec3 commit 2578ba0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ jobs:
include:
- stage: test build
install:
- cd api/users && go get -d -v ./... && cd ./../..
- cd api/articles && go get -d -v ./... && cd ./../..
- cd frontend && go get -d -v ./... && cd ..
- make -C api/articles deps
- make -C api/users deps
- make -C frontend deps
- go get -d -v google.golang.org/grpc/...
script:
- make -C api/articles build
- make -C api/users build
- make -C api/users test
- make -C api/frontend build
- make -C frontend build

6 changes: 6 additions & 0 deletions frontend/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,11 @@ dockerpush:
dockerbuild:
docker build . -t frouioui/tagenal-frontend-service:latest

build:
go build main.go

clean:
go clean

deps:
go get -d -v ./...

0 comments on commit 2578ba0

Please sign in to comment.