forked from apioo/fusio-apps-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (35 loc) · 880 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
language: php
php:
- 7.0
sudo: false
addons:
firefox: "53.0"
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
services:
- mysql
- memcached
before_install:
- phpenv config-rm xdebug.ini
install:
- composer create-project fusio/fusio fusio dev-master
- npm install
- node node_modules/grunt-cli/bin/grunt
- node node_modules/protractor/bin/webdriver-manager update
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- cp server.php fusio/public/server.php
- cp -r dist fusio/public/fusio/
- cp index.htm fusio/public/fusio/index.htm
- pushd fusio/public
- php server.php --warmup
- (php -S 127.0.0.1:8008 server.php) &
- popd
- (node node_modules/protractor/bin/webdriver-manager start > /dev/null 2>&1) &
- sleep 12
script:
- node node_modules/protractor/bin/protractor tests/conf.js