-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
39 lines (39 loc) · 982 Bytes
/
.travis.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
dist: trusty
language: clojure
sudo: required
addons:
apt:
packages:
- chromium-chromedriver
- chromium-browser
before_install:
# Chrome Driver for Selenium tests
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
# install common
- cd ../
- git clone [email protected]:Purple-Services/common.git
- cd common
- lein install
# install opt
- cd ../
- git clone [email protected]:Purple-Services/opt.git
- cd opt
- lein install
# return to dashboard-service
- cd ../
- cd dashboard-service
# setup database
- mysql -e "DROP DATABASE if exists ebdb_test;" -uroot
- mysql -e "create database if not exists ebdb_test;" -uroot
script:
- lein with-profile app-integration-test test
notifications:
slack:
rooms:
- purpledelivery:LSIV4jgY6MoQMOWpAr6nnpo7#github
on_success: always
on_failure: always
email: false
after_success:
- lein with-profile app-integration-dev-deploy beanstalk deploy dashboard-dev-env