8000 Add additional CI examples by nschonni · Pull Request #1165 · bower/bower · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add additional CI examples #1165

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statemen 8000 t. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 11, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,28 @@ in the `Configuration` section.

Bower will skip some interactive and analytics operations if it finds a `CI` environmental variable set to `true`. You will find that the `CI` variable is already set for you on many continuous integration servers, e.g., [CircleCI](https://circleci.com/docs/environment-variables#basics) and [Travis-CI](http://docs.travis-ci.com/user/ci-environment/#Environment-variables).

You may try to set manually set `CI` variable manually before running your Bower commands.

### Linux

```bash
export CI=true
```

### Windows

```bash
set CI=true
```

### Command line arguments

If you cannot set the `CI` flag, you may need to pass `--config.interactive=false` to the Bower CLI in your build scripts.

```
bower install --config.interactive=false
```

## Defining a package

You must create a `bower.json` in your project's root, and specify all of its
Expand Down
0