2015-11-12 01:07:34 +00:00
|
|
|
machine:
|
|
|
|
environment:
|
|
|
|
PATH: $HOME/go/bin:$HOME/gopath/bin:$PATH
|
|
|
|
GOPATH: $HOME/gopath
|
|
|
|
|
2015-08-31 03:30:32 +00:00
|
|
|
dependencies:
|
2015-10-18 04:54:38 +00:00
|
|
|
pre:
|
2016-03-06 20:40:42 +00:00
|
|
|
- sudo apt-get update; sudo apt-get install libusb-1.0-0-dev; cd ~/; git clone https://github.com/jpoirier/librtlsdr; cd librtlsdr; mkdir build; cd build; cmake ../; make; sudo make install; sudo ldconfig; cd ~/; mkdir gopath; cd ~/; mkdir gopath; wget https://storage.googleapis.com/golang/go1.6.src.tar.gz; tar -zxvf go1.6.src.tar.gz; cd go/src; export GOROOT_BOOTSTRAP=/usr/local/go; ./make.bash; echo $PATH; echo $GOPATH; go version; env
|
2015-08-31 03:30:32 +00:00
|
|
|
override:
|
2016-03-16 11:41:19 +00:00
|
|
|
- cd .. ; rm -rf stratux ; git clone --recursive https://github.com/cyoung/stratux ; cd stratux ; git checkout $CIRCLE_BRANCH ; make
|
2015-11-12 01:07:34 +00:00
|
|
|
|
2015-08-31 03:38:24 +00:00
|
|
|
test:
|
|
|
|
override:
|
2015-08-31 03:40:38 +00:00
|
|
|
- make test
|
2016-02-27 06:11:17 +00:00
|
|
|
|
|
|
|
deployment:
|
|
|
|
production:
|
|
|
|
branch: master
|
|
|
|
commands:
|
2016-02-28 17:03:28 +00:00
|
|
|
- yes | ssh -i ~/.ssh/id_updates.stratux.me stratux-updates@updates.stratux.me "touch queue/`git log -n 1 --pretty=%H`"
|