Skip to content

Commit 222040f

Browse files
author
ppetrosh
committed
Merge branch 'master' into develop
2 parents 7508b61 + 3143413 commit 222040f

File tree

5 files changed

+19
-22
lines changed

5 files changed

+19
-22
lines changed

Diff for: .impt.test

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"deviceGroupId": "c4640229-c02d-bb43-6fdb-e0844917cbd7",
3+
"timeout": 90,
4+
"stopOnFail": false,
5+
"allowDisconnect": true,
6+
"builderCache": false,
7+
"testFiles": [
8+
"*.test.nut",
9+
"tests/**/*.test.nut"
10+
]
11+
}

Diff for: .imptest

-15
This file was deleted.

Diff for: .travis.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
language: node_js
22

33
node_js:
4-
- '5.5'
4+
- "node"
55

66
before_script:
7-
- npm i -g imptest@latest
7+
- npm i -g imp-central-impt@latest
8+
- impt auth login --local --lk ${EI_LOGIN_KEY}
89

910
script:
10-
- imptest test
11+
- impt test run

Diff for: README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The ConnectionManager class is an Electric Imp device-side library created to si
99
## Class Usage ##
1010

1111
### Constructor: ConnectionManager(*[settings]*) ###
12-
12+
1313
ConnectionManager can be instantiated with an optional table of settings that modify its behavior. The following settings are available:
1414

1515
| Key | Default | Notes |
@@ -239,7 +239,7 @@ See *log()*, above, for example code.
239239

240240
Some tests change the test device’s WiFi configuration. To ensure that the test device’s WiFi settings are restored after the test run, you should set the environment variables *CM_TEST_SSID* and *CM_TEST_PWD* to the required WiFi SSID and password, respectively.
241241

242-
Alternatively, you can create an `.imptest-builder` file with *CM_TEST_SSID* and *CM_TEST_PWD* defined within it. For example:
242+
Alternatively, you can create an `.imptest-builder` file with *CM_TEST_SSID* and *CM_TEST_PWD* defined within it. For example:
243243

244244
```JSON
245245
{ "CM_TEST_SSID": "<YOUR_WIFI_SSID>",

Diff for: example/ConnectionManager.example.nut

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828
// Instantiate ConnectionManager so BlinkUp is always enabled,
2929
// and starts connected.
3030
cm <- ConnectionManager({
31-
"startupBehavior": START_CONNECTED,
31+
"startupBehavior": CM_START_CONNECTED,
3232
"connectTimeout": 90,
33-
"blinkupBehavior": ConnectionManager.BLINK_ALWAYS
33+
"blinkupBehavior": CM_BLINK_ALWAYS
3434
});
3535

3636
// Set the timeout behaviour after failing to connect for 90 seconds.

0 commit comments

Comments
 (0)