Skip to content

Commit

Permalink
Use the local version of babel in test262 job (#10749)
Browse files Browse the repository at this point in the history
* Use the local version of babel

* retrigger

* correctly remove other changes

* d'oh last one

* remove link part
  • Loading branch information
jbhoosreddy authored and JLHwung committed Nov 22, 2019
1 parent 683adcb commit 74fb914
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions .circleci/config.yml
Expand Up @@ -89,35 +89,21 @@ 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: |
git clone --recurse-submodules https://github.com/babel/babel-test262-runner
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
command: node lib/download-master-artifact ~/master.tap
<<: *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:
Expand Down

0 comments on commit 74fb914

Please sign in to comment.