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:
|
2015-11-12 01:07:34 +00:00
|
|
|
- sudo apt-get update; sudo apt-get install libusb-1.0-0-dev; cd ~/; git clone https://github.com/steve-m/librtlsdr.git; 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.5.1.src.tar.gz; tar -zxvf go1.5.1.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:
|
2015-11-12 01:07:34 +00:00
|
|
|
- make
|
|
|
|
|
2015-08-31 03:38:24 +00:00
|
|
|
test:
|
|
|
|
override:
|
2015-08-31 03:40:38 +00:00
|
|
|
- make test
|