Use the local version of babel in test262 job (#10749)

* Use the local version of babel

* retrigger

* correctly remove other changes

* d'oh last one

* remove link part
This commit is contained in:
Jaideep Bhoosreddy 2019-11-22 11:21:19 -05:00 committed by Huáng Jùnliàng
parent 683adcbb70
commit 74fb914fe3

View File

@ -89,15 +89,6 @@ jobs:
- run:
name: Build Babel
command: BABEL_ENV=test make bootstrap
- run:
name: Link Babel
command: |
cd packages
for package in */; do
cd $package
yarn link
cd ..
done
- run:
name: Setup Test Runner
command: |
@ -105,11 +96,6 @@ jobs:
cd babel-test262-runner
yarn
yarn add tap-mocha-reporter --dev
curl -L https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64 > jq
chmod +x ./jq
for package in ../packages/*/package.json; do
yarn link $(./jq -j ".name" $package)
done
node lib/download-node
- run:
name: Download master branch Test262 artifact
@ -117,7 +103,7 @@ jobs:
<<: *test262_workdir
- run:
name: Run Test262
command: node lib/run-tests I_AM_SURE | tee ~/test262.tap
command: BABEL_PATH=.. node lib/run-tests I_AM_SURE | tee ~/test262.tap
<<: *test262_workdir
- store_artifacts: *artifact_test262_tap
- run: