1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00

Add initial Travis config file

no issue
- basic testing of the admin client with both Chrome and Firefox
This commit is contained in:
Kevin Ansfield 2016-05-19 13:03:39 +01:00
parent 59c5a4f70b
commit 39622c4e28

33
.travis.yml Normal file
View file

@ -0,0 +1,33 @@
sudo: required
dist: trusty
language: node_js
node_js:
- "0.10"
cache:
directories:
- node_modules
addons:
firefox: "latest"
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
before_install:
- npm config --global set spin false
- npm install -g npm@^2
install:
- npm install -g bower
- npm install
- bower install
before_script:
- export DISPLAY=:99; sh -e /etc/init.d/xvfb start; sleep 3;
script:
- npm test