File tree 1 file changed +10
-3
lines changed
1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -5,13 +5,20 @@ machine:
5
5
SOURCE_MAP_SUPPORT : false
6
6
7
7
dependencies :
8
- pre :
8
+ override :
9
9
- cd /usr/local && sudo rm -rf go && curl https://storage.googleapis.com/golang/go1.10.1.linux-amd64.tar.gz | sudo tar -xz && sudo chmod a+w go/src/path/filepath
10
- post :
11
- - mv ./gopherjs $HOME/bin
12
10
- npm install --global node-gyp
13
11
- npm install # install our (dev) dependencies from package.json
14
12
- cd node-syscall && node-gyp rebuild && mkdir -p ~/.node_libraries/ && cp build/Release/syscall.node ~/.node_libraries/syscall.node
13
+ - mkdir -p $HOME/.gopath/src/github.com/gopherjs
14
+ - mv $HOME/$CIRCLE_PROJECT_REPONAME $HOME/.gopath/src/github.com/gopherjs/gopherjs
15
+ - ln -s $HOME/.gopath/src/github.com/gopherjs/gopherjs $HOME/$CIRCLE_PROJECT_REPONAME
16
+ - |
17
+ echo 'export GOPATH=$HOME/.gopath:$GOPATH' >> ~/.circlerc
18
+ echo 'export PATH=$HOME/.gopath/bin:$PATH' >> ~/.circlerc
19
+ - go get -t -d -v github.com/gopherjs/gopherjs/...
20
+ - go install github.com/gopherjs/gopherjs
21
+ - which gopherjs
15
22
16
23
test :
17
24
override :
You can’t perform that action at this time.
0 commit comments