mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
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:
parent
b5e9496d18
commit
8a3e002aa5
5 changed files with 21 additions and 7 deletions
1
.npmrc
1
.npmrc
|
|
@ -1 +0,0 @@
|
|||
save-exact=true
|
||||
|
|
@ -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
1
.yarnrc
Normal file
|
|
@ -0,0 +1 @@
|
|||
save-prefix false
|
||||
21
circle.yml
21
circle.yml
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||

|
||||
|
||||
[](https://travis-ci.org/zeit/hyper)
|
||||
[](https://circleci.com/gh/zeit/hyper)
|
||||
[](https://ci.appveyor.com/project/zeit/hyper)
|
||||
[](https://travis-ci.org/zeit/hyper)
|
||||
[](https://zeit.chat/)
|
||||
[](https://changelog.com/213)
|
||||
[](https://github.com/sindresorhus/xo)
|
||||
|
|
|
|||
Loading…
Reference in a new issue