-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
57 lines (46 loc) · 1.72 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
language: rust
cache: cargo
sudo: true
rust:
- stable
- beta
- nightly
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
- graphviz
- upx-ucl
- wget
matrix:
allow_failures:
- rust: nightly
before_script:
- export PATH=$PATH:/home/travis/.cargo/bin
before_install:
- ./.travis/install.sh
- wget http://packages.couchbase.com/releases/4.5.1/couchbase-server-community_4.5.1-ubuntu12.04_amd64.deb
- sudo dpkg -i couchbase-server-community_4.5.1-ubuntu12.04_amd64.deb
- sleep 30
- "curl -u Administrator:Administrator -v -X POST http://localhost:8091/node/controller/setupServices -d 'services=kv%2Cn1ql%2Cindex'"
- "curl -v -X POST http://localhost:8091/nodes/self/controller/settings -d 'path=%2Fopt%2Fcouchbase%2Fvar%2Flib%2Fcouchbase%2Fdata&index_path=%2Fopt%2Fcouchbase%2Fvar%2Flib%2Fcouchbase%2Fdata'"
- "curl -v -X POST http://localhost:8091/settings/web -d 'password=Administrator&username=Administrator&port=SAME'"
- "curl -u Administrator:Administrator -v -X POST http://localhost:8091/pools/default/buckets -d 'flushEnabled=1&threadsNumber=3&replicaIndex=0&replicaNumber=0&evictionPolicy=valueOnly&ramQuotaMB=597&bucketType=couchbase&name=default&authType=sasl&saslPassword='"
- "curl -u Administrator:Administrator -X POST http://localhost:8091/pools/default -d 'memoryQuota=2048' -d 'indexMemoryQuota=512'"
- cargo install cargo-count --force
- cargo install cargo-graph --force
- cargo install cargo-outdated --force
# - cargo install clippy --force
script:
- cargo build --verbose --all
- cargo test --verbose --all
# - cargo clippy --verbose --all
after_script:
- make
notifications:
email: