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

Commit

Permalink
dependency manager: use yarn instead of npm (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
charlierudolph committed May 25, 2017
1 parent 55d9cbf commit 046e4a0
Show file tree
Hide file tree
Showing 6 changed files with 2,914 additions and 4 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -9,6 +9,7 @@ node_js:
before_script:
- node_modules/o-tools-livescript/bin/build

cache: yarn

notifications:
email: false
3 changes: 2 additions & 1 deletion CONTRIBUTING.md
Expand Up @@ -2,7 +2,8 @@

- set up your developer machine:
- install Node.js
- `npm i`
- install [yarn](https://yarnpkg.com/en/)
- `yarn install`

- development
- the source code is in `src`
Expand Down
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -53,6 +53,8 @@ Tertestrial removes this pipe when stopping.

```
npm i -g tertestrial
# or
yarn global add tertestrial
```

* install the [Tertestrial plugin for your editor](#editor-plugins)
Expand Down
11 changes: 9 additions & 2 deletions circle.yml
@@ -1,14 +1,21 @@
machine:
environment:
PATH: "${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin"
node:
version: 6.1.0


test:
dependencies:
override:
- yarn
cache_directories:
- ~/.cache/yarn


test:
pre:
- node_modules/o-tools-livescript/bin/build
- mkdir -p $CIRCLE_TEST_REPORTS/cucumber

override:
- node_modules/dependency-lint/bin/dependency-lint.js
- cucumber-js --format json:$CIRCLE_TEST_REPORTS/cucumber/tests.cucumber --format pretty
Expand Down
2 changes: 1 addition & 1 deletion features/support/given-steps.ls
Expand Up @@ -38,7 +38,7 @@ defineSupportCode ({Given}) ->
Given /^Tertestrial is running inside the "([^"]*)" example application$/, timeout: 40_000, (app-name, done) ->
@root-dir = path.join 'example-applications', app-name
fs.unlink path.join(@root-dir, '.tertestrial.tmp'), ~>
@run-process 'npm i'
@run-process 'yarn install'
@start-process @tertestrial-path, done


Expand Down

0 comments on commit 046e4a0

Please sign in to comment.