Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bats-core/bats-support.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Karns <jason@karns.name>2019-01-30 20:26:01 +0300
committerJason Karns <jason@karns.name>2019-01-30 20:26:01 +0300
commit96342044aaa859127bc5095d7ee59f843fe24730 (patch)
tree93eb153f07bd311b6f65179befb87400184ee3f1
parent38fe78c0234c298ab8a8624b219e1e387c3790ea (diff)
leverage node/npm for easier travis config
-rw-r--r--.travis.yml10
-rwxr-xr-xscript/install-bats.sh6
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