Skip to content

Commit

Permalink
Enable BROCCOLI_2 and SYSTEM_TEMP by default.
Browse files Browse the repository at this point in the history
Both can be disabled via `EMBER_CLI_*=false`...
  • Loading branch information
rwjblue committed Oct 1, 2018
1 parent 2c169cc commit 83bc4a5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Expand Up @@ -56,10 +56,8 @@ jobs:
- env: EMBER_CLI_PACKAGER=true
- env: EMBER_CLI_MODULE_UNIFICATION=true
- env: EMBER_CLI_DELAYED_TRANSPILATION=true
- env: EMBER_CLI_BROCCOLI_2=true
- env:
- EMBER_CLI_SYSTEM_TEMP=true
- EMBER_CLI_BROCCOLI_2=true
- env: EMBER_CLI_BROCCOLI_2=false
- env: EMBER_CLI_SYSTEM_TEMP=false

- stage: deploy
script: ./.travis/deploy.sh
Expand Down
9 changes: 5 additions & 4 deletions lib/experiments/index.js
Expand Up @@ -2,16 +2,17 @@

const CliError = require('../errors/cli');

const availableExperiments = [
const availableExperiments = Object.freeze([
'PACKAGER',
'MODULE_UNIFICATION',
'DELAYED_TRANSPILATION',
'BROCCOLI_2',
'SYSTEM_TEMP',
];
]);

const enabledExperiments = [
];
const enabledExperiments = Object.freeze([
'BROCCOLI_2',
]);

function isExperimentEnabled(experimentName) {
if (availableExperiments.indexOf(experimentName) < 0) {
Expand Down

0 comments on commit 83bc4a5

Please sign in to comment.