Skip to content

Commit

Permalink
Merge pull request #344 from RickCarlino/master
Browse files Browse the repository at this point in the history
Test PR; please ignore.
  • Loading branch information
RickCarlino committed Jul 20, 2017
2 parents f71f394 + 81345f4 commit 86e404e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
repo_token: lEX6nkql7y2YFCcIXVq5ORvdvMtYzfZdG
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ before_script:
- cp config/database.travis.yml config/database.yml
- mkdir -p public/app
- touch public/app/index.html
- "./install_frontend.sh"
- bundle install
- bundle exec rake db:create db:migrate
- yarn install
Expand All @@ -19,5 +18,7 @@ script:
- export OS_UPDATE_SERVER=http://example.com
- export FW_UPDATE_SERVER=http://example.com
- export DB=postgresql
- export COVERALLS_REPO_TOKEN=lEX6nkql7y2YFCcIXVq5ORvdvMtYzfZdG
- bundle exec rspec
- npm run test
- npm run coverage
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,13 @@
"url": "https://github.com/farmbot/farmbot-web-frontend"
},
"scripts": {
"coverage": "midori coverage/remapped/html/index.html",
"coverage": "cat **/*lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"build": "node_modules/webpack/bin/webpack.js --config tools/webpack.config.prd.js --display-error-details",
"start": "echo '===We use `npm run dev` now.==='",
"heroku-postbuild": "./install_frontend.sh 2>&1",
"dev": "PORT=3000 bundle exec foreman start --procfile=Procfile.dev",
"webpack": "webpack-dev-server --config tools/webpack.config.dev.js --content-base public/ --host 0.0.0.0",
"test": "jest --coverage --no-cache && cat ./coverage/remapped/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"just_test": "jest --coverage --no-cache"
"test": "jest --coverage --no-cache"
},
"keywords": [
"farmbot"
Expand Down Expand Up @@ -119,7 +118,8 @@
],
"coverageReporters": [
"html",
"json"
"json",
"lcov"
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ describe("occurrence", () => {
expect(t.executableId).toBe(fe.executable_id);
expect(t.mmdd).toBe("0619");
expect(t.sortKey).toBe(moment(TIME.MONDAY).unix());
expect(t.timeStr).toBe("01:30am");
expect(t.parentExecutableName).toBe(fe.executable.name);
expect(t.id).toBe(fe.id);
});
Expand Down

0 comments on commit 86e404e

Please sign in to comment.