Enable babel tests on travis

This commit is contained in:
Daniel Tschinder
2016-06-30 00:26:36 +02:00
parent 5e1e1d296a
commit 7593b802ae
2 changed files with 6 additions and 2 deletions

View File

@@ -13,7 +13,11 @@ node_js:
- "4" - "4"
- "0.12" - "0.12"
script: npm test before_script: make bootstrap-babel
script:
- npm test
- make test-babel
notifications: notifications:
slack: babeljs:5Wy4QX13KVkGy9CnU0rmvgeK slack: babeljs:5Wy4QX13KVkGy9CnU0rmvgeK

View File

@@ -8,7 +8,7 @@ clean: ; rm -rf ./build
bootstrap-babel: clean bootstrap-babel: clean
mkdir ./build mkdir ./build
git clone git@github.com:babel/babel.git ./build/babel git clone https://github.com/babel/babel.git ./build/babel
cd ./build/babel; \ cd ./build/babel; \
make bootstrap make bootstrap
find ./build/babel/packages -type d -name 'babylon' -prune -exec rm -rf '{}' \; -exec ln -s '../../../../../' '{}' \; find ./build/babel/packages -type d -name 'babylon' -prune -exec rm -rf '{}' \; -exec ln -s '../../../../../' '{}' \;