Skip to content
This repository has been archived by the owner on Nov 2, 2021. It is now read-only.

Commit

Permalink
test (circle / travis): test configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
André Kilchenmann committed Sep 6, 2018
1 parent fea1ad6 commit 5053387
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 42 deletions.
79 changes: 39 additions & 40 deletions .circleci/config.yml
Expand Up @@ -6,49 +6,48 @@ version: 2
general:
branches:
ignore:
- gh-pages
- gh-pages
jobs:
build:
docker:
- image: angular/ngcontainer:latest
- image: angular/ngcontainer:latest
working_directory: ~/repo

steps:
- checkout

# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "yarn.lock" }}

- run:
name: Version Info
command: |
node --version \
&& yarn --version \
&& git --version
- run: yarn install

- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "yarn.lock" }}

# Build the libraries
- run: yarn build-lib

# Build the demo app
# - run: yarn build:app

# Run unit tests!
# - run: xvfb-run -a yarn ci:test
- run: yarn ng t --project @knora/core --watch=false --browsers=ChromeHeadless

# Run e2e tests!
# - run: xvfb-run -a yarn ci:e2e

# Store build artefacts on circle
- store_artifacts:
path: ~/repo/dist
destination: dist
- checkout

# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "yarn.lock" }}

- run:
name: Version Info
command: |
node --version \
&& yarn --version \
&& git --version
- run: yarn install

- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "yarn.lock" }}

# Build the libraries
- run: yarn build-lib

# Build the demo app
# - run: yarn build:app

# Run unit tests!
# - run: xvfb-run -a yarn ci:test
- run: yarn ng t --project @knora/core --watch=false --browsers=ChromeHeadless

# Run e2e tests!
# - run: xvfb-run -a yarn ci:e2e

# Store build artefacts on circle
- store_artifacts:
path: ~/repo/dist
destination: dist
4 changes: 4 additions & 0 deletions .editorconfig
Expand Up @@ -12,6 +12,10 @@ trim_trailing_whitespace = true
indent_style = space
indent_size = 2

[*.yml]
indent_style = space
indent_size = 2

[*.md]
max_line_length = off
trim_trailing_whitespace = false
Expand Down
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -15,9 +15,9 @@ addons:
chrome: stable
apt:
sources:
- ubuntu-toolchain-r-test
- ubuntu-toolchain-r-test
packages:
- g++-4.9
- g++-4.9

env:
global:
Expand Down

0 comments on commit 5053387

Please sign in to comment.