.travis.yml 667 Bytes
Newer Older
Jamesie Pic's avatar
Jamesie Pic committed
1
sudo: false
Jamesie Pic's avatar
Jamesie Pic committed
2 3 4
env:
  matrix:
  - DEBUG=True
Jamesie Pic's avatar
Jamesie Pic committed
5 6
language: python
python:
Jamesie Pic's avatar
Jamesie Pic committed
7
- '2.7'
Jamesie Pic's avatar
Jamesie Pic committed
8
install:
Jamesie Pic's avatar
Jamesie Pic committed
9 10
- pip install django
- pip install -r requirements.txt
Jamesie Pic's avatar
Jamesie Pic committed
11
before_script:
Jamesie Pic's avatar
Jamesie Pic committed
12 13 14
- npm install -g bower
- bower install
- npm install
Jamesie Pic's avatar
Jamesie Pic committed
15
script:
Jamesie Pic's avatar
Jamesie Pic committed
16 17 18 19 20 21 22 23 24 25 26 27 28 29
- ./manage.py migrate
- 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