forked from FredrikNoren/ungit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
41 lines (41 loc) · 917 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
36
37
38
39
40
41
sudo: required
language: node_js
node_js:
- "6.11"
- "7.10"
- "node"
branches:
only:
- master
env:
global:
- CXX=g++-4.8
matrix:
- GIT_VERSION=default
- GIT_VERSION=edge
matrix:
exclude:
- node_js: "6.11"
env: GIT_VERSION=edge
- node_js: "7.10"
env: GIT_VERSION=edge
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
- xvfb
install:
- export DISPLAY=':99.0'
- Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
- npm install --unsafe-perm=true --allow-root
before_script:
- npm install -g grunt-cli
- if [ "$GIT_VERSION" = "edge" ]; then sudo add-apt-repository ppa:git-core/ppa -y && sudo apt-get update -q && sudo apt-get install -y git; fi
- git config --global user.email "[email protected]"
- git config --global user.name "Test testy"
- git version
- grunt -d
after_script:
- grunt travisnpmpublish