Skip to content

Commit

Permalink
chore(e2e): add travis setup and ci-scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
luhmann committed Mar 18, 2018
1 parent c5c0aed commit 00026f5
Show file tree
Hide file tree
Showing 3 changed files with 184 additions and 14 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
language: node_js

cache:
directories:
- ~/.npm
- node_modules

branches:
only:
- master

script:
- yarn build
- yarn test:ci

deploy:
provider: pages
Expand Down
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
"start": "bsb -make-world -w",
"clean": "bsb -clean-world",
"test": "cypress run",
"dev": "webpack-serve --mode development"
"dev": "webpack-serve --mode development",
"host": "hs build -p 8080",
"ci":
"DEBUG=start-server-and-test start-server-and-test host http:https://localhost:8080 test"
},
"keywords": ["BuckleScript"],
"author": "",
Expand All @@ -26,9 +29,11 @@
"css-loader": "^0.28.10",
"cypress": "^2.1.0",
"html-webpack-plugin": "^3.0.4",
"http-server": "^0.11.1",
"mini-css-extract-plugin": "^0.2.0",
"postcss-loader": "^2.1.1",
"purgecss-webpack-plugin": "^0.20.1",
"start-server-and-test": "^1.1.0",
"style-loader": "^0.20.2",
"tailwindcss": "^0.4.2",
"webapp-webpack-plugin": "^1.1.2",
Expand Down
Loading

0 comments on commit 00026f5

Please sign in to comment.