Skip to content

Commit

Permalink
Cleanup ignore and add more tests
Browse files Browse the repository at this point in the history
The translation diff test will keep failing,
but I want it there since it's obviously been neglected

Azure run on windows, just to be different since circle only supports
linux
  • Loading branch information
cpb8010 committed Jan 8, 2019
1 parent 9043409 commit 34b4aac
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
18 changes: 13 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,22 @@ jobs:
- checkout
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package.json" }}-{{ checksum ".circleci/config.yml" }}
- v1-dependencies-{{ checksum "yarn.lock" }}-{{ checksum ".circleci/config.yml" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
- run: yarn install
- run:
name: Check that all packages are exactly specified
command: git diff --exit-code yarn.lock
- run:
name: Check that all translations are updated (disabled)
command: |
yarn pot
git diff src/locale/po/template.pot
echo "Disabled for now"
- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}-{{ checksum ".circleci/config.yml" }}
- run: yarn test
- run: yarn build:web
- run: yarn build:electron
key: v1-dependencies-{{ checksum "yarn.lock" }}-{{ checksum ".circleci/config.yml" }}
- run: yarn test --coverage
- run: yarn build
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ doc/*
cache
dist-apps
build
nw-cache
nwbuilder-cache
coverage/

2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ trigger:
- master

pool:
vmImage: 'Ubuntu-16.04'
vmImage: 'vs2017-win2016'

steps:
- task: NodeTool@0
Expand Down

0 comments on commit 34b4aac

Please sign in to comment.