Skip to content

Commit

Permalink
Try circle-ci
Browse files Browse the repository at this point in the history
I don't know why browserstack tests aren't running in travis. Perhaps
they run in circle?
  • Loading branch information
artemave committed Dec 21, 2018
1 parent 83ff659 commit 49c5444
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
30 changes: 30 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Javascript Node CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
version: 2
jobs:
build:
docker:
- image: circleci/node:11.5-browsers-legacy

working_directory: ~/repo

steps:
- checkout

# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package.json" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-

- run: yarn install

- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}

- run: yarn test
2 changes: 1 addition & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ module.exports = function (config) {
colors: true,
logLevel: config.LOG_INFO,
autoWatch: true,
browsers: process.env.BROWSERS === 'all' ? Object.keys(browsers) : [
browsers: process.env.BROWSERS === 'all' ? Object.keys(browsers).slice(1) : [
config.singleRun ? 'Chrome_headless_without_security' : 'Chrome_without_security'
],

Expand Down

0 comments on commit 49c5444

Please sign in to comment.