diff options
author | Jason Karns <jason@karns.name> | 2019-01-30 20:26:01 +0300 |
---|---|---|
committer | Jason Karns <jason@karns.name> | 2019-01-30 20:26:01 +0300 |
commit | 96342044aaa859127bc5095d7ee59f843fe24730 (patch) | |
tree | 93eb153f07bd311b6f65179befb87400184ee3f1 | |
parent | 38fe78c0234c298ab8a8624b219e1e387c3790ea (diff) |
leverage node/npm for easier travis config
-rw-r--r-- | .travis.yml | 10 | ||||
-rwxr-xr-x | script/install-bats.sh | 6 |
2 files changed, 3 insertions, 13 deletions
diff --git a/.travis.yml b/.travis.yml index 75721f2..965fe2d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,3 @@ -language: bash -before_install: - - ./script/install-bats.sh -before_script: - - export PATH="${HOME}/.local/bin:${PATH}" -script: - - bats test +language: node_js +node_js: node +cache: npm diff --git a/script/install-bats.sh b/script/install-bats.sh deleted file mode 100755 index 4c3161a..0000000 --- a/script/install-bats.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -set -o errexit -set -o xtrace - -git clone --depth 1 https://github.com/sstephenson/bats -cd bats && ./install.sh "${HOME}/.local" && cd .. && rm -rf bats |