Skip to content

Commit 1f4179c

Browse files
committed
drop node 0.x support
1 parent aa62fac commit 1f4179c

4 files changed

Lines changed: 15 additions & 37 deletions

File tree

.travis.yml

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,19 @@ sudo: false
22

33
language: cpp
44

5-
env:
6-
matrix:
7-
- TRAVIS_NODE_VERSION="9"
8-
- TRAVIS_NODE_VERSION="8"
9-
- TRAVIS_NODE_VERSION="7"
10-
- TRAVIS_NODE_VERSION="6"
11-
- TRAVIS_NODE_VERSION="5"
12-
- TRAVIS_NODE_VERSION="4"
13-
- TRAVIS_NODE_VERSION="0.12"
14-
- TRAVIS_NODE_VERSION="0.10"
15-
16-
addons:
17-
apt:
18-
sources:
19-
- ubuntu-toolchain-r-test
20-
packages:
21-
- g++-4.8
5+
node_js:
6+
- "9"
7+
- "8"
8+
- "7"
9+
- "6"
10+
- "5"
11+
- "4"
2212

2313
os:
2414
- linux
2515
- osx
2616

2717
install:
28-
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION
29-
- if [[ $TRAVIS_OS_NAME == "linux" ]]; then export CXX=g++-4.8; fi
3018
- $CXX --version
3119
- node --version
3220
- npm --version

README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![Build status](https://ci.appveyor.com/api/projects/status/ca1kepectsn3wkrc/branch/master?svg=true)](https://ci.appveyor.com/project/mathiask88/node-snap7/branch/master)
77
[![dependencies Status](https://david-dm.org/mathiask88/node-snap7/status.svg)](https://david-dm.org/mathiask88/node-snap7)
88

9-
**Current node-snap7 version:** 0.4.1\
9+
**Current node-snap7 version:** 1.0.0\
1010
**Current snap7 version:** 1.4.2
1111

1212
## About
@@ -24,13 +24,11 @@ If you don't want to use the `prebuild` for the platform you are installing on,
2424
For building from source you need the following requirements:
2525

2626
- Windows:
27-
- Visual Studio 2010 Express or higher e.g [Visual Studio 2015 Express](https://www.visualstudio.com/de/vs/visual-studio-express/)
28-
- [Python 2.7](https://www.python.org/downloads/release/python-2713/)
27+
- [Visual Studio 2013 Express or higher](https://www.visualstudio.com/de/vs/visual-studio-express/)
28+
- [Python 2.7](https://www.python.org/downloads/release/python-2714/)
2929
- Linux:
30-
- gcc/g++ & make
31-
- [Python 2.7](https://www.python.org/downloads/release/python-2713/)
32-
33-
Building for Node.js 4.x or higher requires C++11 features so the minimum is VS2013 / gcc4.8
30+
- C++11 toolchain
31+
- [Python 2.7](https://www.python.org/downloads/release/python-2714/)
3432

3533
## Special thanks to
3634
- Davide Nardella for creating snap7

appveyor.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ environment:
1010
- nodejs_version: "6"
1111
- nodejs_version: "5"
1212
- nodejs_version: "4"
13-
# node.js
14-
- nodejs_version: "0.12"
15-
- nodejs_version: "0.10"
1613

1714
# Build on both platforms
1815
platform:
@@ -23,11 +20,6 @@ platform:
2320
install:
2421
# Get the latest version of $env:nodejs_version
2522
- ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) $env:platform
26-
# Install latest NPM@2 for node.js 0.10 and 0.12 because built in npm(node-gyp) does not know VS2015
27-
# Update NPM for the rest
28-
- IF %nodejs_version:~0,2% EQU 0. npm -g install npm@2 2>&1>nul
29-
- IF %nodejs_version:~0,2% NEQ 0. npm -g install npm 2>&1>nul
30-
- SET PATH=%APPDATA%\npm;%PATH%
3123
# Output useful info for debugging.
3224
- node --version
3325
- npm --version

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,17 @@
1818
"name": "Mathias Küsel"
1919
},
2020
"engines": {
21-
"node": ">=0.10.0"
21+
"node": ">=4"
2222
},
2323
"license": "MIT",
2424
"readmeFilename": "README.md",
2525
"dependencies": {
2626
"nan": "~2.8.0",
2727
"bindings": "~1.3.0",
28-
"prebuild-install": "^2.2.0"
28+
"prebuild-install": "^2.4.0"
2929
},
3030
"devDependencies": {
31-
"prebuild": "^6.2.0",
31+
"prebuild": "^7.0.0",
3232
"prebuild-ci": "^2.2.3"
3333
},
3434
"scripts": {

0 commit comments

Comments
 (0)