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

Commit 3d3dacc

Browse files
committed
Build on both mac and linux on travis
1 parent 93e0db1 commit 3d3dacc

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

.travis.yml

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,35 @@
1-
language: objective-c
1+
language: c++
22

33
notifications:
44
email:
55
on_success: never
66
on_failure: change
77

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

1024
git:
1125
depth: 10
1226

1327
branches:
1428
only:
1529
- master
30+
31+
env:
32+
global:
33+
- CC=clang CXX=clang++ npm_config_clang=1
34+
matrix:
35+
- NODE_VERSION=node

spec/spellchecker-spec.coffee

Lines changed: 2 additions & 0 deletions
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)