Skip to content

Commit

Permalink
Testing for Windows OS
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhishek Singh committed Dec 31, 2020
1 parent 322c3c0 commit 7d6a869
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
18 changes: 12 additions & 6 deletions .travis.yml
Expand Up @@ -11,12 +11,18 @@ matrix:
python: 3.9
- os: linux
python: pypy3.6-7.1.1
- os: linux
python: pypy3.6-7.2.0
- os: linux
python: pypy3.6-7.3.3
- os: linux
python: pypy3.7-7.3.3
- os: windows # Windows 10.0.17134 N/A Build 17134
language: shell # 'language: python' is an error on Travis CI Windows
before_install:
- choco install python --version 3.8.0
- python -m pip install --upgrade pip
env: PATH=/c/Python38:/c/Python38/Scripts:$PATH
- os: windows # Windows 10.0.17134 N/A Build 17134
language: shell # 'language: python' is an error on Travis CI Windows
before_install:
- choco install python --version 3.9.0
- python -m pip install --upgrade pip
env: PATH=/c/Python39:/c/Python39/Scripts:$PATH
install:
- pip install --upgrade pip
- pip install pytest coverage coveralls
Expand Down
6 changes: 4 additions & 2 deletions README.md
Expand Up @@ -131,7 +131,9 @@ purchases = [('2006-03-28', 'BUY', 'IBM', 1000, 45.00),
('2006-04-05', 'BUY', 'MSFT', 1000, 72.00),
('2006-04-06', 'SELL', 'XOM', 500, 53.00)]

result = client.execute("INSERT INTO stocks VALUES (?,?,?,?,?)", *purchases, execute_many=True)
result = client.execute("INSERT INTO stocks VALUES (?,?,?,?,?)",
*purchases,
execute_many=True)
pprint(result)

```
Expand Down Expand Up @@ -189,7 +191,7 @@ OUTPUT
'lastrowid': 27}
```

Select the rows inserted using the above sql_script
Select the rows inserted using the above SQL script

```python
result = client.execute("SELECT * FROM users")
Expand Down

0 comments on commit 7d6a869

Please sign in to comment.