.travis.yml 831 Bytes
Newer Older
Jamesie Pic's avatar
Jamesie Pic committed
1
sudo: false
Jamesie Pic's avatar
Jamesie Pic committed
2
env:
Jamesie Pic's avatar
Quality    
Jamesie Pic committed
3
  - DJANGO_DEBUG=True DJANGO_SETTINGS_MODULE=memopol.settings
Jamesie Pic's avatar
Jamesie Pic committed
4
5
language: python
python:
Jamesie Pic's avatar
Jamesie Pic committed
6
- '2.7'
Jamesie Pic's avatar
Jamesie Pic committed
7
install:
Jamesie Pic's avatar
Quality    
Jamesie Pic committed
8
9
- pip install -e .
- pip install flake8 pep8
Jamesie Pic's avatar
Jamesie Pic committed
10
before_script:
Jamesie Pic's avatar
Jamesie Pic committed
11
12
13
- npm install -g bower
- bower install
- npm install
Jamesie Pic's avatar
Jamesie Pic committed
14
script:
Jamesie Pic's avatar
Quality    
Jamesie Pic committed
15
16
17
18
- pep8 . --exclude '*/migrations,docs' --ignore E128
- flake8 . --exclude '*/migrations,docs' --ignore E128
- django-admin migrate
- django-admin update_score
Jamesie Pic's avatar
Jamesie Pic committed
19
20
21
22
23
24
25
26
27
28
29
30
31
- node_modules/gulp/bin/gulp.js less
deploy:
- provider: openshift
  user: jamespic@gmail.com
  password:
    secure: W7hQDKAtmpOfwLjBuss6NEKqPSrRhsbgH8a8eV+/Oo6HZxMi1mbNFSi+6WRNSs3Cil0ZZV+awoqC61jIzV4oTwEYcy5bv9NWNSY1QO34DECMS5sY00wA0zKhkdsdTr9Pc3TLRp1cw6x2KNCF356FKZojFTRbjtfJ79rqBc5k5ww=
  app: dev
  domain: memopol
  skip_cleanup: true
  deployment_branch: pr
  on:
    repo: political-memory/political_memory
    branch: pr