Skip to content

Commit 0ded9c8

Browse files
committed
update CI settings
1 parent a4f690b commit 0ded9c8

File tree

4 files changed

+81
-65
lines changed

4 files changed

+81
-65
lines changed

.gitignore

100644100755
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,53 @@
1+
# Ignore docs files
2+
_gh_pages
3+
_site
4+
5+
# Ignore temporary files
16
README.html
27
coverage.out
8+
.tmp
9+
10+
# Numerous always-ignore extensions
11+
*.diff
12+
*.err
13+
*.log
14+
*.orig
15+
*.rej
16+
*.swo
17+
*.swp
18+
*.vi
19+
*.zip
20+
*~
21+
22+
# OS or Editor folders
23+
._*
24+
.cache
25+
.DS_Store
26+
.idea
27+
.project
28+
.settings
29+
.tmproj
30+
*.esproj
31+
*.sublime-project
32+
*.sublime-workspace
33+
nbproject
34+
Thumbs.db
35+
36+
# Komodo
37+
.komodotools
38+
*.komodoproject
39+
40+
# SCSS-Lint
41+
scss-lint-report.xml
42+
43+
# grunt-contrib-sass cache
44+
.sass-cache
45+
46+
# Jekyll metadata
47+
docs/.jekyll-metadata
48+
49+
# Folders to ignore
50+
.build
51+
.test
52+
bower_components
53+
node_modules

.travis.yml

Lines changed: 19 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,70 +1,25 @@
11
language: go
22
sudo: false
3-
go:
4-
- 1.8
5-
- 1.7.5
6-
- 1.7.4
7-
- 1.7.3
8-
- 1.7.2
9-
- 1.7.1
10-
- 1.7
11-
- tip
12-
- 1.6.4
13-
- 1.6.3
14-
- 1.6.2
15-
- 1.6.1
16-
- 1.6
17-
- 1.5.4
18-
- 1.5.3
19-
- 1.5.2
20-
- 1.5.1
21-
- 1.5
22-
- 1.4.3
23-
- 1.4.2
24-
- 1.4.1
25-
- 1.4
26-
- 1.3.3
27-
- 1.3.2
28-
- 1.3.1
29-
- 1.3
30-
- 1.2.2
31-
- 1.2.1
32-
- 1.2
33-
- 1.1.2
34-
- 1.1.1
35-
- 1.1
36-
before_install:
37-
- go get github.com/mattn/goveralls
38-
script:
39-
- $HOME/gopath/bin/goveralls -service=travis-ci
40-
notifications:
41-
email:
42-
on_success: never
433
matrix:
444
fast_finish: true
5+
include:
6+
- go: 1.11.x
7+
env: TEST_METHOD=goveralls
8+
- go: 1.10.x
9+
- go: tip
10+
- go: 1.9.x
11+
- go: 1.8.x
12+
- go: 1.7.x
13+
- go: 1.6.x
14+
- go: 1.5.x
4515
allow_failures:
4616
- go: tip
47-
- go: 1.6.4
48-
- go: 1.6.3
49-
- go: 1.6.2
50-
- go: 1.6.1
51-
- go: 1.6
52-
- go: 1.5.4
53-
- go: 1.5.3
54-
- go: 1.5.2
55-
- go: 1.5.1
56-
- go: 1.5
57-
- go: 1.4.3
58-
- go: 1.4.2
59-
- go: 1.4.1
60-
- go: 1.4
61-
- go: 1.3.3
62-
- go: 1.3.2
63-
- go: 1.3.1
64-
- go: 1.3
65-
- go: 1.2.2
66-
- go: 1.2.1
67-
- go: 1.2
68-
- go: 1.1.2
69-
- go: 1.1.1
70-
- go: 1.1
17+
- go: 1.9.x
18+
- go: 1.8.x
19+
- go: 1.7.x
20+
- go: 1.6.x
21+
- go: 1.5.x
22+
script: ./test.sh $TEST_METHOD
23+
notifications:
24+
email:
25+
on_success: never

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This package implements distance and similarity metrics for strings, based on th
1111

1212
## Project Status
1313

14-
v1.2.1 Stable: Guaranteed no breaking changes to the API in future v1.x releases. Probably safe to use in production, though provided on "AS IS" basis.
14+
v1.2.2 Stable: Guaranteed no breaking changes to the API in future v1.x releases. Probably safe to use in production, though provided on "AS IS" basis.
1515

1616
This package is being actively maintained. If you encounter any problems or have any suggestions for improvement, please [open an issue](https://github.com/agext/levenshtein/issues). Pull requests are welcome.
1717

test.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
set -ev
2+
3+
if [[ "$1" == "goveralls" ]]; then
4+
echo "Testing with goveralls..."
5+
go get github.com/mattn/goveralls
6+
$HOME/gopath/bin/goveralls -service=travis-ci
7+
else
8+
echo "Testing with go test..."
9+
go test -v ./...
10+
fi

0 commit comments

Comments
 (0)