mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-26 02:44:33 +02:00
Compare commits
5 commits
main
...
test-travi
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b840337142 | ||
|
|
be45312f1a | ||
|
|
05d9470e29 | ||
|
|
f77aa3ff49 | ||
|
|
bb623815a7 |
2 changed files with 10 additions and 0 deletions
|
|
@ -1,10 +1,16 @@
|
||||||
language: python
|
language: python
|
||||||
|
sudo: required
|
||||||
|
|
||||||
# 3.6 is listed first so it gets used for the later build stages
|
# 3.6 is listed first so it gets used for the later build stages
|
||||||
python:
|
python:
|
||||||
- "3.6"
|
- "3.6"
|
||||||
- "3.7-dev"
|
- "3.7-dev"
|
||||||
|
|
||||||
|
before_install:
|
||||||
|
- sudo add-apt-repository -y ppa:jonathonf/backports
|
||||||
|
- sudo apt-get -y update
|
||||||
|
- sudo apt-get -y install sqlite3
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- pip install -U pip wheel
|
- pip install -U pip wheel
|
||||||
- pip install .[test]
|
- pip install .[test]
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,10 @@ search_records = [
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
def test_sqlite_version(fresh_db):
|
||||||
|
assert False, str(fresh_db.conn.execute("select sqlite_version()").fetchall())
|
||||||
|
|
||||||
|
|
||||||
def test_enable_fts(fresh_db):
|
def test_enable_fts(fresh_db):
|
||||||
table = fresh_db["searchable"]
|
table = fresh_db["searchable"]
|
||||||
table.insert_all(search_records)
|
table.insert_all(search_records)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue