diff --git a/.travis.yml b/.travis.yml index 0e14a90..b5cd2b4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ language: node_js node_js: + - "9.11" + - "8.11" - "4.1" - "4.0" - - '0.10' - - '0.12' - - 'iojs' diff --git a/circle.sh b/circle.sh deleted file mode 100755 index cf274d8..0000000 --- a/circle.sh +++ /dev/null @@ -1,53 +0,0 @@ -#!/bin/bash -set -ex -set -o pipefail - -# Cache phase of circleci -function do_cache() { - npm install -} - -# Test phase of circleci -function do_test() { - npm --version - node --version - npm test -} - -# Deploy phase of circleci -function do_deploy() { - VERSION=${CIRCLE_TAG//v/} - echo "Trying to install version $VERSION" - npm whoami - - # For some reason this command returns 1??? - npm --depth=0 list - npm --depth=0 list | grep "signalfx@$VERSION " - npm publish -} - -function do_all() { - do_cache - do_test - do_deploy -} - -case "$1" in - cache) - do_cache - ;; - test) - do_test - ;; - deploy) - do_deploy - ;; - all) - do_all - ;; - *) - echo "Usage: $0 {cache|test|deploy|all}" - exit 1 - ;; -esac - diff --git a/circle.yml b/circle.yml deleted file mode 100644 index 6fb2277..0000000 --- a/circle.yml +++ /dev/null @@ -1,19 +0,0 @@ -dependencies: - cache_directories: - - /home/ubuntu/dependent_repos - - /home/ubuntu/.npm - override: - - ./circle.sh cache > >(tee $CIRCLE_ARTIFACTS/cache.stdout.txt) 2> >(tee $CIRCLE_ARTIFACTS/cache.stderr.txt >&2): - timeout: 900 - -test: - override: - - ./circle.sh test > >(tee $CIRCLE_ARTIFACTS/test.stdout.txt) 2> >(tee $CIRCLE_ARTIFACTS/test.stderr.txt >&2): - timeout: 3000 - -deployment: - npmdeploy: - tag: /v[0-9]+(\.[0-9]+)*/ - commands: - - echo -e "_auth=$NPM_AUTH\nemail=info@signalfx.com" > ~/.npmrc - - ./circle.sh deploy diff --git a/example/index.html b/example/index.html index 460ab6d..2310dcf 100644 --- a/example/index.html +++ b/example/index.html @@ -33,7 +33,6 @@ } -