Skip to content

Commit

Permalink
Update node to latest before_deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
albertusdev committed Sep 5, 2019
1 parent 48fc5a3 commit ed7d0c8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
services:
- docker
language: go
node_js:
- 10
go: "1.12.x"
cache: yarn

env:
global:
- GO111MODULE=on GITHUB_USER=irfn

before_install:
- node --version && which nvm
install: make setup
script:
- make test-ci
- cd website && yarn install && yarn build && cd ..

before_deploy:
- nvm use node
- docker login docker.io -u $DOCKER_USER -p $DOCKER_PASSWORD
- echo "machine github.com login ${GITHUB_USER} password ${GITHUB_TOKEN}" > ~/.netrc

Expand Down

0 comments on commit ed7d0c8

Please sign in to comment.