stratux/circle.yml

21 wiersze
923 B
YAML
Czysty Zwykły widok Historia

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:
- 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:
2016-02-26 18:03:31 +00:00
- cd .. ; rm -rf stratux ; git clone --recursive https://github.com/cyoung/stratux ; cd stratux ; make
2015-08-31 03:38:24 +00:00
test:
override:
- make test
2016-02-27 06:11:17 +00:00
deployment:
production:
branch: master
commands:
2016-02-27 06:19:42 +00:00
- cd selfupdate ; ./makeupdate.sh ; cd .. ; yes | scp -i ~/.ssh/id_updates.stratux.me work/*.sh stratux-updates@updates.stratux.me:.