Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit d779ace766e6a914301f2fd707cdb35f61d08a6d
Author: Arturas <[email protected]>
Date:   Fri Jun 22 09:47:02 2018 +0100

    bump package version

commit ddc161b
Author: Arturas <[email protected]>
Date:   Fri Jun 22 09:41:14 2018 +0100

    restructure travis
  • Loading branch information
Alorel committed Jun 22, 2018
1 parent 39e3a3d commit 15546e4
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 22 deletions.
32 changes: 12 additions & 20 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,28 @@
language: node_js
sudo: false

stages:
- Test
- name: Deploy
if: tag IS present
node_js:
- stable
- lts/boron
- lts/carbon

cache:
directories:
- node_modules
before_cache: rm -rf node_modules/.cache
install: npm install --build-from-source
after_success: cat ./coverage/lcov.info | coveralls

stdJob: &stdJob
stage: Test
script: npm test
after_success: cat ./coverage/lcov.info | coveralls
stages:
- test
- name: Deploy
if: tag IS present

jobs:
include:
- node_js: &node_latest 9
<<: *stdJob
- node_js: 8
<<: *stdJob
- node_js: 7
<<: *stdJob
- node_js: 6
<<: *stdJob
- node_js: '6.0'
<<: *stdJob
- stage: Deploy
node_js: *node_latest
node_js: stable
script: node ./prepublish.js
after_success: false
deploy:
- provider: npm
skip_cleanup: true
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
The original [shrink-ray](https://www.npmjs.com/package/shrink-ray) appears to be abandoned.
This mirror has all the dependencies up-to-date.

Note for Node 10.0 and up: `node-zopfli` now fails to install from the network. You must pass the `--build-from-source` flag to `npm install`.
Note for Node 10.0 and up: `node-zopfli` now fails to install from the network. You must pass the `--build-from-source` flag to `npm install` and have all the native addon build requirements met:

- Python 2.7
- A C++ build environment (e.g. GCC)

[![Version](https://img.shields.io/npm/v/shrink-ray-current.svg?style=flat-square)](https://www.npmjs.com/package/shrink-ray-current)
[![License](https://img.shields.io/npm/l/shrink-ray-current.svg?style=flat-square)](https://www.npmjs.com/package/shrink-ray-current)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "shrink-ray-current",
"description": "Node.js compression middleware with brotli and zopfli support",
"version": "2.1.0",
"version": "2.1.1",
"contributors": [
"Arturas Molcanovas <[email protected]> (https://alorel.github.io)",
"Douglas Christopher Wilson <[email protected]>",
Expand Down

0 comments on commit 15546e4

Please sign in to comment.