This repository has been archived by the owner on Oct 10, 2018. It is now read-only.
/
.travis.yml
64 lines (52 loc) · 1.48 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
sudo: required
language: node_js
node_js:
- '8'
notifications:
email: false
os:
- linux
env:
- CODE_TESTS_WORKSPACE=$TRAVIS_BUILD_DIR/test/_workspace CODE_TESTS_PATH=$TRAVIS_BUILD_DIR/out/test/single-workspace-tests
# add as soon as multi root workspaces are available:
#- CODE_TESTS_WORKSPACE=$TRAVIS_BUILD_DIR/test/multi-root.code-workspace CODE_TESTS_PATH=$TRAVIS_BUILD_DIR/out/test/multi-root-workspace-tests
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.9
- g++-4.9
- gcc-4.9-multilib
- g++-4.9-multilib
- zip
- libgtk2.0-0
- libx11-dev
- libxkbfile-dev
- libsecret-1-dev
before_install:
- if [ $TRAVIS_OS_NAME == "linux" ]; then
export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0;
sh -e /etc/init.d/xvfb start;
sleep 3;
fi
- rvm get stable
- rvm install 2.4
- gem install github_changelog_generator
- yarn global add greenkeeper-lockfile@1
install:
- yarn install
before_script:
- greenkeeper-lockfile-update
- yarn run build
script:
- yarn test --silent
after_script:
- greenkeeper-lockfile-upload
- yarn run semantic-release-pre
- github_changelog_generator --no-verbose -u buehler -p typescript-hero --enhancement-labels "enhancement,feature" --include-labels "bug,enhancement,feature" --future-release $(node -p "require('./package.json').version")
- yarn global add vsce
- yarn run semantic-release
branches:
except:
- /^v\d+\.\d+\.\d+$/