Skip to content

Commit

Permalink
Fix for Travis building (#2)
Browse files Browse the repository at this point in the history
* Some updates to dev dependencies

* Another possible fix

* Possible fix for travis

* Possible fix for travis №2

* Changed travis building on master branch
  • Loading branch information
Rodion93 committed Nov 23, 2019
1 parent 37989ea commit 2703006
Show file tree
Hide file tree
Showing 5 changed files with 267 additions and 10 deletions.
19 changes: 18 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,28 @@
language: node_js

os:
- osx

node_js:
- 10

branches:
only:
- master

script: echo "Running tests against $(node -v)..."
install:
- brew update >/dev/null
- brew install glib mono openssl >/dev/null
- curl -sSL -k -o osx-net-core.pkg https://download.visualstudio.microsoft.com/download/pr/59a7b78f-4e86-473b-b230-c84d15505cec/766e3e5f35e7bb9677dd785071c5fbf7/dotnet-sdk-2.1.500-osx-x64.pkg
- sudo installer -pkg osx-net-core.pkg -target /
- export PATH=/usr/local/share/dotnet:$PATH
- npm install -q

script:
- mono --version
- dotnet --version
- yarn test
- EDGE_USE_CORECLR=1 yarn test

jobs:
include:
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"edge-js": "^13.0.1"
},
"devDependencies": {
"babel-core": "^6.26.3",
"babel-jest": "^24.9.0",
"babel-plugin-rewire": "^1.2.0",
"coveralls": "^3.0.7",
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/winCert.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const edge = require('edge-js');
const path = require('path');
const certsConsts = require('./constants/certificateConsts');

const certificates = edge.func(path.join(__dirname, 'certificates.cs'));
const certificates = edge.func(path.join(__dirname, 'certificates.csx'));

exports.getAllCertificates = getAllCertificates;
exports.getCertificate = getCertificate;
Expand Down

0 comments on commit 2703006

Please sign in to comment.