-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathshippable.yml
42 lines (42 loc) · 1.74 KB
/
shippable.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
language: python
python:
- '2.7'
node_js:
- '0.10'
addons:
firefox: '30.0'
env:
matrix:
- DJANGO=django==1.5.4
global:
# Imgur API keys
- secure: "D+ya6k5EEjaEh8FJDSyHrh6X0K/xDd9gAZfenTSMiwNojiSUXjIs9c3uH2pI2HdBzhoajsSvOlCN/CMzuPBNWd2FfEuWdrNOTXQHPHvQDhEHpqGxtGZtw8zf99t5BIPfZTTQkemUyyvYOKHAT3VBnehp8q0SdzYAaEfvhDCjgys="
- secure: "fOzfAkE3f4Aq/+4JKwkX4IcjaRcldfLeMqdCV6MTn88BYgFvDCz7Bhp6/WOECHzw/1HYHr14vW0JHXqHh8JB6jkTQ1Gxei6fOTZbNNG+qtlguuoBQ+jnJ29ArV5FROOEtrBv/86SKyMz5D/2tR7BmES+hfmUDDxDhhCx/aEzpHw="
services:
- memcached
before_install:
- sudo gem install compass -v 0.12.7
- sudo gem install bourbon neat
- sudo npm install -g grunt-cli
- sudo npm install
- sudo apt-get install -qq memcached python-memcache libjpeg8-dev libjpeg-dev zlib1g-dev libpng12-dev
- pip install Pillow --use-mirrors
install:
- pip install --upgrade setuptools --use-mirrors
- pip install $DJANGO --use-mirrors
- pip install --use-mirrors --use-wheel --find-links=https://stream.onepercentclub.com/wheelhouse/ -r requirements/ci_requirements.txt
- touch onepercentclub/settings/secrets.py
- bourbon install --path=static/global/refactor-sass/lib
- bash -c "cd static/global/refactor-sass/lib && neat install"
before_script:
- pip show bluebottle
- grunt build:css --bb_path="`pip show bluebottle | grep Location | cut -b11-`"
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
#- curl https://gist.githubusercontent.com/rollick/42b92c18c3a265b08792/raw/sauce-connect.sh | sh
script:
- python ./manage.py test --settings=onepercentclub.settings.travis -v1
notifications:
hipchat:
rooms:
secure: lfQxEnp7TBqzVc61Wm8NhQiqkKg6YBSx9Ro1q3VTeUWsKzFS2p7OV1eKu8bXjCA9FaCaaxc/TxFaZcvUr2hzXJiW/VoZH4J/+yYp2yblhj5uzQuQl3oWRgY8eFK33rjelqnkolFSmrMkVWY6cw/M8DNrxoSqzQLP2Dn5jYxS6Jg=