Skip to content

Commit 5b110da

Browse files
committed
Fix travis
Signed-off-by: martinRenou <martin.renou@gmail.com>
1 parent 0d52c2a commit 5b110da

1 file changed

Lines changed: 14 additions & 7 deletions

File tree

.travis.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,19 @@
1-
language: node_js
2-
node_js:
3-
- 12
1+
language: generic
42
os:
53
- linux
64
- osx
7-
addons:
8-
chrome: beta
9-
script:
5+
before_install:
6+
- if [[ $TRAVIS_OS_NAME == linux ]]; then sudo apt-get update; fi
7+
- if [[ $TRAVIS_OS_NAME == linux ]]; then wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh; fi
8+
- if [[ $TRAVIS_OS_NAME == osx ]]; then wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh; fi
9+
- bash miniconda.sh -b -p $HOME/miniconda
10+
- export PATH="$HOME/miniconda/bin:$PATH"
11+
- hash -r
12+
- conda config --set always_yes yes --set changeps1 no
13+
- conda update -q conda
14+
- conda info -a
15+
- conda create -q -n test-environment nodejs
16+
- source activate test-environment
17+
install:
1018
- npm install
1119
- npm run build
12-

0 commit comments

Comments
 (0)