Permalink
Browse files

Add travis ci support

  • Loading branch information...
rafaelmaiolla committed Mar 17, 2016
1 parent d091349 commit 97e9120eb9dae9556cc7dfe04a2d8d28cf1e44bb
Showing with 22 additions and 2 deletions.
  1. +2 −1 .gitignore
  2. +19 −0 .travis.yml
  3. +0 −1 .vscodeignore
  4. +1 −0 package.json
View
@@ -1,2 +1,3 @@
out
node_modules
node_modules
.vscode-test
View
@@ -0,0 +1,19 @@
sudo: false
os:
- osx
- linux
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
install:
- npm install
- npm run vscode:prepublish
script:
- npm test --silent
View
@@ -6,4 +6,3 @@ src/**
**/*.map
.gitignore
tsconfig.json
vsc-extension-quickstart.md
View
@@ -60,6 +60,7 @@
]
},
"scripts": {
"test": "node ./node_modules/vscode/bin/test",
"vscode:prepublish": "node ./node_modules/vscode/bin/compile",
"compile": "node ./node_modules/vscode/bin/compile -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install"

0 comments on commit 97e9120

Please sign in to comment.