Skip to content
Merged
Show file tree
Hide file tree
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
12 changes: 7 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
dist: trusty
sudo: false
language: node_js
node_js:
- "stable"
- "6"
- "4"
after_success:
- "npm run coveralls"
- stable
- 7
- 6

after_script:
- npm run report-coverage
25 changes: 14 additions & 11 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@
# Test against this version of Node.js
version: "{build}"
skip_branch_with_pr: true
skip_tags: true
build: off

environment:
matrix:
# node.js
- nodejs_version: "stable"
- nodejs_version: "6"
- nodejs_version: "4"
- nodejs_version: stable
- nodejs_version: 6

# Install scripts. (runs after repo cloning)
install:
# Get the latest stable version of Node.js or io.js
# install Node.js
- ps: Install-Product node $env:nodejs_version
# install modules
- npm install

# Post-install test scripts.

# to run your custom scripts instead of automatic tests
test_script:
# run tests
- npm run test-cov
- npm test

# Don't actually build.
build: off
# to run your custom scripts instead of provider deployments
after_test:
- npm run report-coverage
8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
},
"description": "Unprefixes vendor prefixes in legacy CSS.",
"devDependencies": {
"cover": "^0.2.9",
"coveralls": "^3.0.0",
"codecov": "^3.0.0",
"eslint": "^4.0.0",
"gulp": "^3.9.1",
"gulp-rename": "^1.2.2",
Expand Down Expand Up @@ -61,10 +60,9 @@
"url": "git+https://github.com/gucong3000/postcss-unprefix.git"
},
"scripts": {
"coveralls": "npm run test-cov && coveralls < coverage/lcov.info",
"test-cov": "nyc npm test",
"report-coverage": "codecov",
"pretest": "eslint .",
"test": "mocha --no-timeouts"
"test": "nyc mocha --no-timeouts"
},
"version": "2.1.1"
}