Skip to content

Commit 7877c49

Browse files
author
Ryan Munro
committed
Test node.js v5+ & python 3.6
1 parent 8e05002 commit 7877c49

2 files changed

Lines changed: 22 additions & 10 deletions

File tree

.travis.yml

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,39 @@
11
language: python
22
os:
33
- "linux"
4-
# - "osx"
54
env:
5+
- NODE_VERSION="6.1"
6+
- NODE_VERSION="6.0"
7+
- NODE_VERSION="5.11"
8+
- NODE_VERSION="5.10"
9+
- NODE_VERSION="5.9"
10+
- NODE_VERSION="5.8"
11+
- NODE_VERSION="5.7"
12+
- NODE_VERSION="5.6"
13+
- NODE_VERSION="5.5"
14+
- NODE_VERSION="5.4"
15+
- NODE_VERSION="5.3"
16+
- NODE_VERSION="5.2"
617
- NODE_VERSION="5.1"
718
- NODE_VERSION="5.0"
19+
- NODE_VERSION="4.4"
20+
- NODE_VERSION="4.3"
821
- NODE_VERSION="4.2"
922
- NODE_VERSION="4.1"
1023
- NODE_VERSION="4.0"
11-
# - NODE_VERSION="0.12"
12-
# - NODE_VERSION="0.10"
1324
python:
25+
- "nightly"
1426
- "3.5"
1527
- "3.4"
1628
- "3.3"
1729
- "3.2"
1830
- "2.7"
1931
- "2.6"
2032
before_install:
21-
- rm -rf ~/.nvm
22-
- git clone https://github.com/creationix/nvm.git ~/.nvm
23-
- source ~/.nvm/nvm.sh
24-
- nvm install $NODE_VERSION
33+
- rm -rf ~/.nvm
34+
- git clone https://github.com/creationix/nvm.git ~/.nvm
35+
- source ~/.nvm/nvm.sh
36+
- nvm install $NODE_VERSION
2537
install:
2638
- pip install six
2739
- npm install

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ python.end();
2727

2828
## var python = pythonBridge(options)
2929

30-
Spawns a Python interpreter pipe to execute code, and receive data.
30+
Spawns a Python interpreter, exposing a bridge to the running processing. Configurable via `options`.
3131

3232
* `options.python` - Python interpreter, defaults to `python`
3333

@@ -48,7 +48,7 @@ var python = pythonBridge({
4848

4949
## python`` `expression(args...)` ``.then(...)
5050

51-
Evaluates an expression.
51+
Evaluates Python code, returning the value back to Node.
5252

5353
```javascript
5454
// Interpolates arguments using JSON serialization.
@@ -63,7 +63,7 @@ python`dict(baz=123, **${obj})`.then(x => {
6363

6464
## python.ex`` `statement` ``.then(...)
6565

66-
Execute a statement that does not return a value.
66+
Execute Python statements.
6767

6868
```javascript
6969
let a = 123, b = 321;

0 commit comments

Comments
 (0)