-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsample.travis.yml
More file actions
35 lines (35 loc) · 995 Bytes
/
sample.travis.yml
File metadata and controls
35 lines (35 loc) · 995 Bytes
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
sudo: required
language: node_js
node_js:
- '6'
before_install:
- npm i -g npm
- npm install grunt-cli -g
- 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
after_success:
- bash <(curl -s https://codecov.io/bash)
cache:
directories:
- node_modules
env:
global:
- MX_APP_NAME=your-app-name
- MX_PROJECT_ID=your-project-id
- MX_USER=your-mendix-user-email@your-domain.com
deploy:
provider: releases
api_key: $GITHUB_KEY
file_glob: true
file: dist/release/*
skip_cleanup: true
on:
repo: $TRAVIS_REPO_SLUG
tags: true