-
Notifications
You must be signed in to change notification settings - Fork 10
/
.gitlab-ci.yml
33 lines (30 loc) · 1 KB
/
.gitlab-ci.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
image: "ruby:2.5"
before_script:
- git submodule sync --recursive
- git submodule update --init --recursive
- apt-get update -qq && apt-get install -y -qq build-essential sqlite3 libsqlite3-dev
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b -p $HOME/miniconda
- export PATH=$HOME/miniconda/bin:$PATH
- conda update --yes conda
- conda create --yes -n condaenv python=3.6
- conda install --yes -n condaenv pip
- source activate condaenv
- conda install -c conda-forge --yes scikit-learn scipy python=3.6 pip jupyter
- pip install thrift==0.11.0
- pip install openmdao==2.4.0
- curl -sL https://deb.nodesource.com/setup_6.x | bash -
- apt-get install -y nodejs
- node --version
- npm --version
- npm install --global yarn
- yarn --version
- ruby -v
- which ruby
- gem install bundler
- bundle install --jobs $(nproc) "${FLAGS[@]}"
- yarn
test:
script:
- bundle exec rails test