Skip to content

Commit

Permalink
chore(travis): dismiss yarn for now
Browse files Browse the repository at this point in the history
Until yarnpkg/yarn#1538 is solved
  • Loading branch information
yhuard committed Feb 7, 2017
1 parent 133c791 commit c460751
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ addons:
- $TRAVIS_BUILD_DIR/selenium.txt
cache:
apt: true
yarn: true
yarn: false
directories:
- node_modules

Expand All @@ -36,8 +36,8 @@ before_install:
- export DISPLAY=:99.0

install:
- yarn install
- yarn dist
- npm install
- npm run dist

before_script:
- npm install -g gemini
Expand All @@ -47,4 +47,4 @@ before_script:
- sleep 5

script:
- yarn $TEST_SUITE # run unit test, css regression, and css reference in parallel
- npm run $TEST_SUITE # run unit test, css regression, and css reference in parallel
23 changes: 12 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
# WIP
# EC Component Library

Component library based on [Fractal](http://fractal.build/) using lerna and other fancy tools.
[![Build Status](https://travis-ci.org/ec-europa/europa-component-library.svg?branch=master)](https://travis-ci.org/ec-europa/europa-component-library)

Component library based on [Fractal](http://fractal.build/).

Requirements:
- Node.js >= 6
- lerna 2.0.0-beta.34
- yarn

## Setup

```
yarn
npm run bootstrap
yarn bootstrap
```

## Develop
Expand All @@ -31,37 +32,37 @@ selenium-standalone install

Then, in 3 separate consoles:

- Start the server:
- Start the server:

```
yarn start
```

- Start selenium:
- Start selenium:

```
selenium-standalone start
```

- Run the tests:
- Run the tests:

```
npm run gemini:test
yarn gemini:test
```

If you want to update the reference screeshots:

```
npm run gemini:update
yarn gemini:update
```

## Test (accessibility)

Build the project and run accessibility testing:

```
npm run dist
npm run test:a11y
yarn dist
yarn test:a11y
```

## Deploy to GitHub Pages
Expand Down

0 comments on commit c460751

Please sign in to comment.