2014-08-31 01:57:17 +00:00
|
|
|
language: go
|
|
|
|
|
|
|
|
branches:
|
|
|
|
except:
|
|
|
|
- gh-pages
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
- ssh-keygen -f $HOME/.ssh/id_rsa -t rsa -N ''
|
|
|
|
- cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
|
|
|
|
- chmod 600 ~/.ssh/authorized_keys
|
2014-11-27 19:04:19 +00:00
|
|
|
- sudo pip install ceph-deploy
|
2015-01-13 04:35:31 +00:00
|
|
|
- ceph-deploy install --release giant `hostname`
|
2014-11-27 19:04:19 +00:00
|
|
|
- ceph-deploy pkg --install librados-dev `hostname`
|
2015-01-13 06:18:31 +00:00
|
|
|
- ceph-deploy pkg --install librbd-dev `hostname`
|
2014-11-27 19:04:19 +00:00
|
|
|
- bash ci/micro-osd.sh /tmp/micro-ceph
|
|
|
|
- export CEPH_CONF=/tmp/micro-ceph/ceph.conf
|
|
|
|
- ceph status
|
2014-08-31 01:57:17 +00:00
|
|
|
|
2015-01-13 05:01:25 +00:00
|
|
|
script:
|
|
|
|
- go test -v ./...
|
|
|
|
|
2014-08-31 01:57:17 +00:00
|
|
|
notifications:
|
|
|
|
recipients:
|
|
|
|
- noahwatkins@gmail.com
|
|
|
|
email:
|
|
|
|
on_success: always
|
|
|
|
on_failure: always
|