forked from CounterpartyXCP/counterparty-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
31 lines (31 loc) · 2.08 KB
/
circle.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
# Keep this as non-docker for now, to give some variety to our test configurations, as travis builds with docker
dependencies:
override:
- rm -rf /home/ubuntu/virtualenvs/venv-*/bin/serpent
- rm -rf /home/ubuntu/virtualenvs/venv-*/lib/python3.4/site-packages/apsw*
- pip install --upgrade pip
- pip install -r requirements.txt
- python setup.py install --with-serpent
- python -c "import apsw; print(apsw.apswversion())"
test:
override:
- py.test --verbose --capture=no counterpartylib/test/config_context_test.py
- py.test --verbose --capture=no counterpartylib/test/unit_test.py
- py.test --verbose --capture=no counterpartylib/test/utxolocks_test.py
- py.test --verbose --capture=no counterpartylib/test/bytespersigop_test.py
- py.test --verbose --capture=no counterpartylib/test/hashlib_test.py
- py.test --verbose --capture=no counterpartylib/test/parse_block_test.py
- py.test --verbose --capture=no --skiptestbook=all counterpartylib/test/integration_test.py
- py.test --verbose --capture=no counterpartylib/test/contracts_test.py
- py.test --verbose --capture=no --skiptestbook=mainnet -k test_book counterpartylib/test/reparse_test.py
- py.test --verbose --capture=no --skiptestbook=testnet -k test_book counterpartylib/test/reparse_test.py
- py.test --verbose --capture=no counterpartylib/test/database_version_test.py
machine:
pre:
- mkdir -p ~/.local/share/counterparty;
- wget https://s3.amazonaws.com/counterparty-bootstrap/counterparty-db-testnet.latest.tar.gz -O ~/.local/share/counterparty/counterparty-db-testnet.latest.tar.gz;
- tar -C ~/.local/share/counterparty -xvzf ~/.local/share/counterparty/counterparty-db-testnet.latest.tar.gz;
- wget https://s3.amazonaws.com/counterparty-bootstrap/counterparty-db.latest.tar.gz -O ~/.local/share/counterparty/counterparty-db.latest.tar.gz;
- tar -C ~/.local/share/counterparty -xvzf ~/.local/share/counterparty/counterparty-db.latest.tar.gz;
python:
version: 3.4.1