Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Build on both mac and linux on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
maxbrunsfeld committed Jan 6, 2016
1 parent 93e0db1 commit 6bb8b4c
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
24 changes: 21 additions & 3 deletions .travis.yml
@@ -1,15 +1,33 @@
language: objective-c

notifications:
email:
on_success: never
on_failure: change

script: 'curl -s https://raw.githubusercontent.com/atom/ci/master/build-package.sh | sh'
os:
- linux
- osx

install:
- rm -rf ~/.nvm
- git clone https://github.com/creationix/nvm.git ~/.nvm
- source ~/.nvm/nvm.sh
- nvm install $NODE_VERSION
- node --version
- npm install

script: npm test

sudo: false

git:
depth: 10

branches:
only:
- master

env:
global:
- CC=clang CXX=clang++ npm_config_clang=1
matrix:
- NODE_VERSION=node
2 changes: 2 additions & 0 deletions spec/spellchecker-spec.coffee
Expand Up @@ -35,6 +35,8 @@ describe "SpellChecker", ->
expect(errorOccurred).toBe true

describe ".getAvailableDictionaries()", ->
return if process.platform is 'linux'

it "returns an array of string dictionary names", ->
dictionaries = SpellChecker.getAvailableDictionaries()
expect(Array.isArray(dictionaries)).toBe true
Expand Down

0 comments on commit 6bb8b4c

Please sign in to comment.