Skip to content

Commit

Permalink
skip test under travis
Browse files Browse the repository at this point in the history
  • Loading branch information
alicebob committed May 28, 2018
1 parent 19b056d commit 081a745
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
sudo: false
language: go

install: go get -t ./...

script: make ci

sudo: false

go:
- "1.10"
addons:
apt:
update: true
packages:
- sqlite3
4 changes: 4 additions & 0 deletions ci/expr_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,17 @@
package ci

import (
"os"
"testing"

"github.com/alicebob/sqlittle"
)

func TestExprCol(t *testing.T) {
// index with expression column
if os.Getenv("TRAVIS") != "" {
t.Skip("travis has old sqlite3 version")
}
Compare(
t,
`
Expand Down
2 changes: 2 additions & 0 deletions ci/support_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ func Compare(
sqlSelect string,
little func(*testing.T, *sqlittle.DB) [][]string,
) {
t.Helper()

file, close := tmpfile(t)
defer close()

Expand Down

0 comments on commit 081a745

Please sign in to comment.