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:
parent
59c5a4f70b
commit
39622c4e28
1 changed files with 33 additions and 0 deletions
33
.travis.yml
Normal file
33
.travis.yml
Normal 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
|
Loading…
Reference in a new issue