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

Commit 6bb8b4c

Browse files
committed
Build on both mac and linux on travis
1 parent 93e0db1 commit 6bb8b4c

File tree

2 files changed

+23
-3
lines changed

2 files changed

+23
-3
lines changed

.travis.yml

+21-3
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,33 @@
1-
language: objective-c
2-
31
notifications:
42
email:
53
on_success: never
64
on_failure: change
75

8-
script: 'curl -s https://raw.githubusercontent.com/atom/ci/master/build-package.sh | sh'
6+
os:
7+
- linux
8+
- osx
9+
10+
install:
11+
- rm -rf ~/.nvm
12+
- git clone https://github.com/creationix/nvm.git ~/.nvm
13+
- source ~/.nvm/nvm.sh
14+
- nvm install $NODE_VERSION
15+
- node --version
16+
- npm install
17+
18+
script: npm test
19+
20+
sudo: false
921

1022
git:
1123
depth: 10
1224

1325
branches:
1426
only:
1527
- master
28+
29+
env:
30+
global:
31+
- CC=clang CXX=clang++ npm_config_clang=1
32+
matrix:
33+
- NODE_VERSION=node

spec/spellchecker-spec.coffee

+2
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ describe "SpellChecker", ->
3535
expect(errorOccurred).toBe true
3636

3737
describe ".getAvailableDictionaries()", ->
38+
return if process.platform is 'linux'
39+
3840
it "returns an array of string dictionary names", ->
3941
dictionaries = SpellChecker.getAvailableDictionaries()
4042
expect(Array.isArray(dictionaries)).toBe true

0 commit comments

Comments
 (0)