Made Circle CI builds work (#2110)

* Add CircleCI Badge

* Fix typo

* Replace yarn by npm

* Replace yarn by npm

* Always generate the artifacts

* Use yarn for everything

* Also pin dependencies with Yarn

* Install yarn

* Adjusted config

* Only copy ZIP file

* Only build our branches

* Prevent Travis from building on macOS
This commit is contained in:
CHaBou 2017-08-22 00:04:15 +02:00 committed by Leo Lamprecht
parent b5e9496d18
commit 8a3e002aa5
5 changed files with 21 additions and 7 deletions

1
.npmrc
View file

@ -1 +0,0 @@
save-exact=true

View file

@ -5,8 +5,6 @@ language: node_js
matrix:
include:
- os: osx
node_js: 7.9.0
- os: linux
node_js: 7.9.0
env: CC=clang CXX=clang++ npm_config_clang=1

1
.yarnrc Normal file
View file

@ -0,0 +1 @@
save-prefix false

View file

@ -1,11 +1,26 @@
machine:
xcode:
version: 8.2
dependencies:
pre:
- npm install -g yarn
override:
- yarn install
- yarn
test:
override:
- yarn test
deployment:
release:
tag: /.*/
artifacts:
branch: /.*/
owner: zeit
commands:
- yarn run dist
- cp dist/*.zip $CIRCLE_ARTIFACTS
release:
tag: /.*/
owner: zeit
commands:
- yarn run dist

View file

@ -1,7 +1,8 @@
![](https://github.com/zeit/art/blob/525bd1bb39d97dd3b91c976106a6d5cc5766b678/hyper/repo-banner.png)
[![macOS CI status](https://travis-ci.org/zeit/hyper.svg?branch=master)](https://travis-ci.org/zeit/hyper)
[![macOS CI Status](https://circleci.com/gh/zeit/hyper.svg?style=shield)](https://circleci.com/gh/zeit/hyper)
[![Windows CI status](https://ci.appveyor.com/api/projects/status/kqvb4oa772an58sc?svg=true)](https://ci.appveyor.com/project/zeit/hyper)
[![Linux CI status](https://travis-ci.org/zeit/hyper.svg?branch=master)](https://travis-ci.org/zeit/hyper)
[![Slack Channel](http://zeit-slackin.now.sh/badge.svg)](https://zeit.chat/)
[![Changelog #213](https://img.shields.io/badge/changelog-%23213-lightgrey.svg)](https://changelog.com/213)
[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)