* Move babel-standalone into main Babel repo
* Don't try to gather coverage data for babel-standalone test
* Fix JSX test
* Always use npm v4 on Travis
* Include pull request number as part of version number
* Cherry-picking 5721b2e43e
Remove deprecated packages to prevent Babel v6 files from being pulled in
* Use RootMostResolvePlugin to dedupe packages
* Avoid destructuring so the build works on archaic Node.js versions
* - Fix version number
- Remove Babili packages (they should be in separate babili-standalone)
- Remove deprecated syntax-class-constructor-call
* - Remove more Babili packages
- Remove `babel-plugin-inline-replace-variables` for now as it pulls in Babel 6 stuff
* Actually remove reference to babel-plugin-undeclared-variables-check
* Add Babylon to root package.json so we hoist the right version. This fixes the tests.
44 lines
1.1 KiB
YAML
44 lines
1.1 KiB
YAML
git:
|
|
depth: 10
|
|
sudo: false
|
|
language: node_js
|
|
cache:
|
|
yarn: true
|
|
directories:
|
|
- node_modules
|
|
node_js:
|
|
- '8'
|
|
- '6'
|
|
- '4'
|
|
|
|
env:
|
|
global:
|
|
- PATH=$HOME/.yarn/bin:$PATH
|
|
- JOB=test
|
|
|
|
before_install:
|
|
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 0.28.1
|
|
|
|
script:
|
|
# Babel doesn't build correctly with npm v2 (which comes bundled with Node v4)
|
|
# so we manually upgrade to a known working npm version.
|
|
- npm install --global npm@4
|
|
- 'if [ "$JOB" = "test" ]; then make test-ci; fi'
|
|
- 'if [ "$JOB" = "lint" ]; then make lint && make flow; fi'
|
|
|
|
matrix:
|
|
fast_finish: true
|
|
include:
|
|
- node_js: "node"
|
|
env: JOB=lint
|
|
|
|
notifications:
|
|
slack:
|
|
on_success: change
|
|
on_failure: always
|
|
rooms:
|
|
# Generate with
|
|
# travis encrypt "babeljs:<token>#activity" --add notifications.slack.rooms
|
|
# where <token> is from the Slack integration settings.
|
|
secure: SrwPKRe2AiNAKRo/+2yW/x4zxbWf2FBXuBuuPkdTJVTpWe++Jin1lXYJWTKP1a1i/IbmhffBO9YZcUFbeuXJpRM083vO8VYpyuBMQRqWD+Z3o+ttPlHGOJgnj0nkIcGRk6k7PpyHNnIkixfEJDvbbg9lN1Jswb3xkL8iYIHpuFE=
|