forked from ddulesov/clickhouse_driver
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
34 lines (33 loc) · 1.04 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
sudo: required
language: rust
branches:
except:
- dev
- patch
addons:
apt:
packages:
- curl
rust:
- stable
- beta
- nightly
matrix:
allow_failures:
- rust: nightly
fast_finish: true
services:
- docker
before_install:
- docker-compose up -d
- rustup component add clippy
# - cargo install -f cargo-travis
- export PATH=$HOME/.cargo/bin:$PATH;
- curl --data-binary @tests/create.sql -u 'default:' 'http://localhost:8123/default'
- curl --data-binary @tests/createx.sql -u 'default:' 'http://localhost:8123/default'
- curl --data-binary @tests/main.tsv -u 'default:' 'http://localhost:8123/default?query=INSERT%20INTO%20main(i64,u64,i32,u32,i16,u16,i8,u8,f32,f64,title,lcs,mon,d,t,dt64,uuid,e8,e16,ip4,ip6,n,dm1,dm2)%20FORMAT%20TabSeparated'
- curl --data-binary @tests/mainx.tsv -u 'default:' 'http://localhost:8123/default?query=INSERT%20INTO%20mainx(i64,a8,a16,a32,a64,a8d,aip4,aip6,ad,adt,adc,lcs)%20FORMAT%20TabSeparated'
script:
- cargo build
- cargo clippy --all-targets
- cargo test --all --verbose