forked from mendixlabs/calendar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (46 loc) · 1.22 KB
/
.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
40
41
42
43
44
45
46
sudo: required
language: node_js
node_js:
- "8"
addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
before_install:
- npm i -g npm
- npm install grunt-cli -g
- wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
- sudo dpkg -i google-chrome*.deb
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- wget -q -O - http://opensource.wandisco.com/wandisco-debian.gpg | sudo apt-key add -
- sudo sh -c "echo 'deb http://opensource.wandisco.com/debian/ wheezy svn17' > /etc/apt/sources.list.d/wandisco-subversion.list"
- sudo apt-get -qq update
- sudo apt-get install -y --allow-downgrades subversion=1.7.22-1+WANdisco libsvn1=1.7.22-1+WANdisco
- svn --version
- npm --version
script: travis_wait 30 npm test
after_success:
- bash <(curl -s https://codecov.io/bash)
cache:
directories:
- node_modules
env:
global:
- MX_APP_NAME=reactcalendar
- MX_BRANCH_NAME=trunk
- MX_PROJECT_ID=efe7ce5d-5c1f-4f4a-9fe9-beebe2a16bb0
- MX_ENVIRONMENT=Sandbox
deploy:
provider: releases
api_key: $GITHUB_KEY
file_glob: true
file: dist/release/*
skip_cleanup: true
on:
repo: $TRAVIS_REPO_SLUG
tags: true