ember-cli-deploy-ghpages
ember-cli-deploy-ghpages copied to clipboard
Error during tests on Travis
Hi, after I installed the ember-cli-deploy-ghpages addon to my addon, it no longer passes tests on Travis.org.
When I run ember t
or ember t --server
they both pass locally with no problems.
Also the previous run on travis was successful which did not have the addon installed.
The important part of the error is below:
/home/travis/build/Microsoft/PowerBI-Ember/node_modules/ember-cli-deploy-ghpages/index.js:19
createDeployPlugin(options) {
^
SyntaxError: Unexpected token (
My only guess is that version of node doesn't understand the short-hand method syntax and would need to be changed to older style:
createDeployPlugin: function (options) {
Full logs below:
Using worker: worker-linux-docker-9f039867.prod.travis-ci.org:travis-linux-9
system_info
Build system information
Build language: node_js
Build group: stable
Build dist: precise
Build id: 152516595
Job id: 152516601
travis-build version: 701b77778
Build image provisioning date and time
Thu Feb 5 15:09:33 UTC 2015
Operating System Details
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise
Linux Version
3.13.0-29-generic
Cookbooks Version
a68419e https://github.com/travis-ci/travis-cookbooks/tree/a68419e
GCC version
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
LLVM version
clang version 3.4 (tags/RELEASE_34/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
Pre-installed Ruby versions
ruby-1.9.3-p551
Pre-installed Node.js versions
v0.10.36
Pre-installed Go versions
1.4.1
Redis version
redis-server 2.8.19
riak version
2.0.2
MongoDB version
MongoDB 2.4.12
CouchDB version
couchdb 1.6.1
Neo4j version
1.9.4
RabbitMQ Version
3.4.3
ElasticSearch version
1.4.0
Installed Sphinx versions
2.0.10
2.1.9
2.2.6
Default Sphinx version
2.2.6
Installed Firefox version
firefox 31.0esr
PhantomJS version
1.9.8
ant -version
Apache Ant(TM) version 1.8.2 compiled on December 3 2011
mvn -version
Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T17:29:23+00:00)
Maven home: /usr/local/maven
Java version: 1.7.0_76, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-oracle/jre
Default locale: en_US, platform encoding: ANSI_X3.4-1968
OS name: "linux", version: "3.13.0-29-generic", arch: "amd64", family: "unix"
fix.CVE-2015-7547
$ export DEBIAN_FRONTEND=noninteractive
W: Size of file /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise-backports_multiverse_source_Sources.gz is not what the server reported 5886 5888
W: Size of file /var/lib/apt/lists/ppa.launchpad.net_ubuntugis_ppa_ubuntu_dists_precise_main_binary-amd64_Packages.gz is not what the server reported 33653 36677
W: Size of file /var/lib/apt/lists/ppa.launchpad.net_ubuntugis_ppa_ubuntu_dists_precise_main_binary-i386_Packages.gz is not what the server reported 33699 36733
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
libc-bin libc-dev-bin libc6-dev
Suggested packages:
glibc-doc
The following packages will be upgraded:
libc-bin libc-dev-bin libc6 libc6-dev
4 upgraded, 0 newly installed, 0 to remove and 235 not upgraded.
Need to get 8,840 kB of archives.
After this operation, 14.3 kB disk space will be freed.
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libc6-dev amd64 2.15-0ubuntu10.15 [2,943 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libc-dev-bin amd64 2.15-0ubuntu10.15 [84.7 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libc-bin amd64 2.15-0ubuntu10.15 [1,177 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libc6 amd64 2.15-0ubuntu10.15 [4,636 kB]
Fetched 8,840 kB in 0s (35.6 MB/s)
Preconfiguring packages ...
(Reading database ... 69991 files and directories currently installed.)
Preparing to replace libc6-dev 2.15-0ubuntu10.10 (using .../libc6-dev_2.15-0ubuntu10.15_amd64.deb) ...
Unpacking replacement libc6-dev ...
Preparing to replace libc-dev-bin 2.15-0ubuntu10.10 (using .../libc-dev-bin_2.15-0ubuntu10.15_amd64.deb) ...
Unpacking replacement libc-dev-bin ...
Preparing to replace libc-bin 2.15-0ubuntu10.10 (using .../libc-bin_2.15-0ubuntu10.15_amd64.deb) ...
Unpacking replacement libc-bin ...
Processing triggers for man-db ...
Setting up libc-bin (2.15-0ubuntu10.15) ...
(Reading database ... 69990 files and directories currently installed.)
Preparing to replace libc6 2.15-0ubuntu10.10 (using .../libc6_2.15-0ubuntu10.15_amd64.deb) ...
Unpacking replacement libc6 ...
Setting up libc6 (2.15-0ubuntu10.15) ...
Setting up libc-dev-bin (2.15-0ubuntu10.15) ...
Setting up libc6-dev (2.15-0ubuntu10.15) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
git.checkout
0.38s$ git clone --depth=50 --branch=dev https://github.com/Microsoft/PowerBI-Ember.git Microsoft/PowerBI-Ember
Cloning into 'Microsoft/PowerBI-Ember'...
remote: Counting objects: 429, done.
remote: Compressing objects: 100% (28/28), done.
remote: Total 429 (delta 6), reused 3 (delta 0), pack-reused 400
Receiving objects: 100% (429/429), 61.78 KiB | 0 bytes/s, done.
Resolving deltas: 100% (189/189), done.
Checking connectivity... done.
$ cd Microsoft/PowerBI-Ember
$ git checkout -qf 20fd8aa2216cd8ae0fb0f7ae471d4d194c3c77b8
This job is running on container-based infrastructure, which does not allow use of 'sudo', setuid and setguid executables.
If you require sudo, add 'sudo: required' to your .travis.yml
See https://docs.travis-ci.com/user/workers/container-based-infrastructure/ for details.
Setting environment variables from .travis.yml
$ export EMBER_TRY_SCENARIO=ember-1.13
Updating nvm to v0.31.0
2.36s$ nvm install 0.12
######################################################################## 100.0%
Now using node v0.12.15 (npm v2.15.1)
cache.1
Setting up build cache
$ export CASHER_DIR=$HOME/.casher
0.05s$ Installing caching utilities
0.00s
2.61sattempting to download cache archive
fetching dev/cache-linux-precise-01295196b85225a9bfb0aa6f58ff52ead3e5c4a2d3d0aecfd2331363d5cb0237--node-0.12.tgz
found cache
0.00s
8.39sadding /home/travis/build/Microsoft/PowerBI-Ember/node_modules to cache
$ node --version
v0.12.15
$ npm --version
2.15.1
$ nvm --version
0.31.0
before_install.1
0.00s$ export PATH=/usr/local/phantomjs-2.0.0/bin:$PATH
before_install.2
0.71s$ npm config set spin false
before_install.3
10.77s$ npm install -g npm@^2
/home/travis/.nvm/versions/node/v0.12.15/bin/npm -> /home/travis/.nvm/versions/node/v0.12.15/lib/node_modules/npm/bin/npm-cli.js
[email protected] /home/travis/.nvm/versions/node/v0.12.15/lib/node_modules/npm
install.1
9.47s$ npm install -g bower
/home/travis/.nvm/versions/node/v0.12.15/bin/bower -> /home/travis/.nvm/versions/node/v0.12.15/lib/node_modules/bower/bin/bower
[email protected] /home/travis/.nvm/versions/node/v0.12.15/lib/node_modules/bower
install.2
23.34s$ npm install
npm WARN engine [email protected]: wanted: {"node":">= 4.0.0"} (current: {"node":"0.12.15","npm":"2.15.10"})
npm WARN deprecated [email protected]: This package has been discontinued in favor of lodash@^4.0.0.
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
[email protected] node_modules/ember-cli-deploy-ghpages
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected])
[email protected] node_modules/ember-cli-deploy
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected]
[email protected] node_modules/ember-cli-deploy-build
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected])
install.3
5.58s$ bower install
bower not-cached https://github.com/components/ember.git#~2.4.3
bower resolve https://github.com/components/ember.git#~2.4.3
bower not-cached https://github.com/ember-cli/ember-cli-test-loader.git#0.2.2
bower resolve https://github.com/ember-cli/ember-cli-test-loader.git#0.2.2
bower not-cached https://github.com/Microsoft/PowerBI-JavaScript.git#2.0.0-beta.12
bower resolve https://github.com/Microsoft/PowerBI-JavaScript.git#2.0.0-beta.12
bower not-cached https://github.com/ember-cli/ember-cli-shims.git#0.1.1
bower resolve https://github.com/ember-cli/ember-cli-shims.git#0.1.1
bower not-cached https://github.com/twbs/bootstrap.git#~3.3.5
bower resolve https://github.com/twbs/bootstrap.git#~3.3.5
bower not-cached https://github.com/dockyard/ember-qunit-notifications.git#0.1.0
bower resolve https://github.com/dockyard/ember-qunit-notifications.git#0.1.0
bower checkout ember#2.4.6
bower checkout bootstrap#v3.3.7
bower checkout powerbi-client#v2.0.0-beta.12
bower checkout ember-cli-shims#v0.1.1
bower checkout ember-cli-test-loader#v0.2.2
bower checkout ember-qunit-notifications#v0.1.0
bower resolved https://github.com/ember-cli/ember-cli-test-loader.git#0.2.2
bower invalid-meta The "main" field has to contain only 1 file per filetype; found multiple .js files: ["app-shims.js","test-shims.js"]
bower invalid-meta The "main" field cannot contain minified files
bower resolved https://github.com/ember-cli/ember-cli-shims.git#0.1.1
bower not-cached https://github.com/components/ember.git#>=1.4
bower resolve https://github.com/components/ember.git#>=1.4
bower checkout ember#2.7.0
bower resolved https://github.com/dockyard/ember-qunit-notifications.git#0.1.0
bower not-cached https://github.com/dockyard/qunit-notifications.git#~0.1.0
bower resolve https://github.com/dockyard/qunit-notifications.git#~0.1.0
bower resolved https://github.com/Microsoft/PowerBI-JavaScript.git#2.0.0-beta.12
bower checkout qunit-notifications#v0.1.1
bower resolved https://github.com/twbs/bootstrap.git#3.3.7
bower not-cached https://github.com/jquery/jquery-dist.git#1.9.1 - 3
bower resolve https://github.com/jquery/jquery-dist.git#1.9.1 - 3
bower resolved https://github.com/dockyard/qunit-notifications.git#0.1.1
bower checkout jquery#3.1.0
bower invalid-meta The "main" field has to contain only 1 file per filetype; found multiple .js files: ["./ember.debug.js","./ember-template-compiler.js"]
bower resolved https://github.com/components/ember.git#2.4.6
bower not-cached https://github.com/jquery/jquery-dist.git#>= 1.7.0 < 3.0.0
bower resolve https://github.com/jquery/jquery-dist.git#>= 1.7.0 < 3.0.0
bower invalid-meta The "main" field has to contain only 1 file per filetype; found multiple .js files: ["./ember.debug.js","./ember-template-compiler.js"]
bower checkout jquery#2.2.4
bower resolved https://github.com/components/ember.git#2.7.0
bower resolved https://github.com/jquery/jquery-dist.git#3.1.0
bower resolved https://github.com/jquery/jquery-dist.git#2.2.4
bower install ember-cli-test-loader#0.2.2
bower install ember-cli-shims#0.1.1
bower install ember-qunit-notifications#0.1.0
bower install powerbi-client#2.0.0-beta.12
bower install bootstrap#3.3.7
bower install qunit-notifications#0.1.1
bower install ember#2.4.6
bower install jquery#2.2.4
ember-cli-test-loader#0.2.2 bower_components/ember-cli-test-loader
ember-cli-shims#0.1.1 bower_components/ember-cli-shims
└── ember#2.4.6
ember-qunit-notifications#0.1.0 bower_components/ember-qunit-notifications
└── qunit-notifications#0.1.1
powerbi-client#2.0.0-beta.12 bower_components/powerbi-client
bootstrap#3.3.7 bower_components/bootstrap
└── jquery#2.2.4
qunit-notifications#0.1.1 bower_components/qunit-notifications
ember#2.4.6 bower_components/ember
└── jquery#2.2.4
jquery#2.2.4 bower_components/jquery
1.16s$ ember try $EMBER_TRY_SCENARIO test
/home/travis/build/Microsoft/PowerBI-Ember/node_modules/ember-cli-deploy-ghpages/index.js:19
createDeployPlugin(options) {
^
Unexpected token (
/home/travis/build/Microsoft/PowerBI-Ember/node_modules/ember-cli-deploy-ghpages/index.js:19
createDeployPlugin(options) {
^
SyntaxError: Unexpected token (
at exports.runInThisContext (vm.js:73:16)
at Module._compile (module.js:443:25)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Function.Addon.lookup (/home/travis/build/Microsoft/PowerBI-Ember/node_modules/ember-cli/lib/models/addon.js:879:19)
at /home/travis/build/Microsoft/PowerBI-Ember/node_modules/ember-cli/lib/models/addons-factory.js:47:36
at visit (/home/travis/build/Microsoft/PowerBI-Ember/node_modules/ember-cli/lib/utilities/DAG.js:23:3)
The command "ember try $EMBER_TRY_SCENARIO test" exited with 1.
cache.2
store build cache
0.00s
14.29schange detected (content changed, file is created, or file is deleted):
/home/travis/build/Microsoft/PowerBI-Ember/node_modules/ember-cli-deploy/bin/changelog
/home/travis/build/Microsoft/PowerBI-Ember/node_modules/ember-cli-deploy/blueprints/ember-cli-deploy/files/config/deploy.js
/home/travis/build/Microsoft/PowerBI-Ember/node_modules/ember-cli-deploy/blueprints/ember-cli-deploy/index.js
/home/travis/build/Microsoft/PowerBI-Ember/node_modules/ember-cli-deploy/blueprints/.jshintrc
/home/travis/build/Microsoft/PowerBI-Ember/node_modules/ember-cli-deploy-build/bin/changelog
/home/travis/build/Microsoft/PowerBI-Ember/node_modules/ember-cli-deploy-build/bin/prepare-release
/home/travis/build/Microsoft/PowerBI-Ember/node_modules/ember-cli-deploy-build/CHANGELOG.md
/home/travis/build/Microsoft/PowerBI-Ember/node_modules/ember-cli-deploy-build/circle.yml
/home/travis/build/Microsoft/PowerBI-Ember/node_modules/ember-cli-deploy-build/config/environment.js
/home/travis/build/Microsoft/PowerBI-Ember/node_modules/ember-cli-deploy-build/dist/assets/dummy.css
/home/trav
...
changes detected, packing new archive
.
uploading archive
Done. Your build exited with 1.