mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 00:24:21 +02:00
Added circle-ci file
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# InfluxDB PHP SDK
|
||||
|
||||
[](https://travis-ci.org/corley/influxdb-php-sdk)
|
||||
[](https://circleci.com/gh/corley/influxdb-php-sdk/tree/master)
|
||||
[](https://scrutinizer-ci.com/g/corley/influxdb-php-sdk/?branch=master)
|
||||
[](https://scrutinizer-ci.com/g/corley/influxdb-php-sdk/?branch=master)
|
||||
[](https://packagist.org/packages/corley/influxdb-sdk)
|
||||
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
machine:
|
||||
timezone:
|
||||
Europe/Rome
|
||||
php:
|
||||
version: 5.6.5
|
||||
|
||||
dependencies:
|
||||
pre:
|
||||
- sudo apt-get update
|
||||
- sudo apt-get install nginx
|
||||
- wget https://s3.amazonaws.com/influxdb/influxdb_latest_amd64.deb
|
||||
- sudo useradd influxdb
|
||||
- sudo dpkg -i influxdb_latest_amd64.deb
|
||||
- sudo cp ./scripts/influxdb_conf.toml /etc/opt/influxdb/influxdb.conf
|
||||
- sudo /opt/influxdb/influxd -config /etc/opt/influxdb/influxdb.conf: {background: true}
|
||||
- sudo cp scripts/nginx_proxy.conf /etc/nginx/conf.d/proxy.conf
|
||||
- sudo service nginx restart
|
||||
test:
|
||||
override:
|
||||
- vendor/bin/phpunit --coverage-clover clover.xml
|
||||
post:
|
||||
- wget https://scrutinizer-ci.com/ocular.phar
|
||||
- php ocular.phar code-coverage:upload --format=php-clover clover.xml
|
||||
Reference in New Issue
Block a user