forked from pipelinedb/pipeline_kafka
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
23 lines (21 loc) · 795 Bytes
/
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
dependencies:
pre:
- sudo apt-get update
- sudo apt-get install python-dev
- sudo apt-get remove postgresql-9.5 postgresql-client-9.5
- curl -sSL https://s3.amazonaws.com/circle-downloads/install-circleci-docker.sh | bash -s -- 1.10.0
- sudo pip install --upgrade docker-compose
- wget https://www.pipelinedb.com/download/nightly/ubuntu14
- sudo rm /usr/bin/psql && sudo rm /usr/bin/pg_config && sudo dpkg -i ubuntu14
- git clone -b 0.9.1 https://github.com/edenhill/librdkafka.git
- cd librdkafka && ./configure --prefix=/usr && make && sudo make install
post:
- sudo service docker start
- sudo pip install -r test/requirements.txt
- make
- sudo make install
test:
pre:
- sudo service postgresql stop
override:
- make test