-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathcircle.yml
24 lines (22 loc) · 949 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
24
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 curl -L "https://github.com/docker/compose/releases/download/1.11.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
- sudo chmod +x /usr/local/bin/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