1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-03-05 21:49:06 +01:00
slate/.travis.yml
Ian Storm Taylor 6ab686ae77 Refactor benchmarks ()
* first stab

* refactor to nanobench

* refactor to matcha

* use hand-rolled comparison logic, ugh

* update threshold

* remove unused dependencies

* remove benchmarks from travis ci
2017-03-21 17:38:39 -07:00

26 lines
566 B
YAML

language: node_js
env:
matrix:
- TEST_TYPE=test
- TEST_TYPE=lint
script:
- |
if [ "$TEST_TYPE" = test ]; then
npm run test
elif [ "$TEST_TYPE" = lint ]; then
npm run lint
fi
# Slate is compiled with babel and run in the browser
node_js:
- "node"
# Compiling package microtime requires C++11 compiler. Benchmarks will
# automatically use microtime if installed.
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install:
- if [[ $TRAVIS_OS_NAME == "linux" ]]; then export CXX=g++-4.8; fi