Skip to content

Commit 04eee03

Browse files
glynnbirdGlynn Bird
and
Glynn Bird
authored
Removing Travis and replacing with GitHub Workflows (#318)
* first attempt at removing Travis and replacing with GitHub workflows * remove n option * persist-credentials: false, as per ASF guidance Co-authored-by: Glynn Bird <glynnbird@apache.org>
1 parent 0951133 commit 04eee03

File tree

4 files changed

+37
-38
lines changed

4 files changed

+37
-38
lines changed

.github/workflows/ci.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Nano Automated Testing
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
11+
build:
12+
runs-on: ubuntu-latest
13+
14+
services:
15+
couchdb:
16+
image: couchdb
17+
ports:
18+
- 5984:5984
19+
env:
20+
COUCHDB_USER: admin
21+
COUCHDB_PASSWORD: admin
22+
23+
strategy:
24+
matrix:
25+
node-version: [14.x, 16.x, 18.x]
26+
27+
steps:
28+
- uses: actions/checkout@v3
29+
with:
30+
persist-credentials: false
31+
- name: Use Node.js ${{ matrix.node-version }}
32+
uses: actions/setup-node@v3
33+
with:
34+
node-version: ${{ matrix.node-version }}
35+
- run: npm ci
36+
- run: npm run build --if-present
37+
- run: TRAVIS=1 npm test

.travis.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

scripts/run_couchdb_on_travis.sh

Lines changed: 0 additions & 15 deletions
This file was deleted.

scripts/stop_couchdb_on_travis.sh

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)