forked from minosworld/minos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (35 loc) · 981 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
sudo: required
language: python
os: linux
python: 3.6
env:
- TRAVIS_NODE_VERSION="8"
- TRAVIS_NODE_VERSION="9"
- TRAVIS_NODE_VERSION="10"
matrix:
include:
- os: osx
language: generic
env: TRAVIS_NODE_VERSION="8"
- os: osx
language: generic
env: TRAVIS_NODE_VERSION="9"
- os: osx
language: generic
env: TRAVIS_NODE_VERSION="10"
services:
- docker
before_install:
- |
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
sudo apt-get install build-essential libxi-dev libglu1-mesa-dev libglew-dev
elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew update
brew upgrade python
fi
install:
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION
- cd minos/server && npm install && cd ../..
- pip3 install -e . -r requirements.txt
script:
- echo