forked from exaexa/GigaSOM.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.artenolis.yml
43 lines (32 loc) · 1.28 KB
/
.artenolis.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
36
37
38
39
40
41
42
43
language: bash
before_install:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
script:
# set the environment variable CURRENT_DIR
- CURRENT_DIR=`pwd`
# change to the current directory
- cd $CURRENT_DIR
- echo $NODE_LABELS
# rename the cloned folder
- cd .. && cp -r $NODE_LABELS GigaSOM && cd GigaSOM
# launch the tests
- bash .artenolis/runtests.sh
after_success:
# submit coverage report
- if [ "$ARCH" == "Linux" ]; then
$ARTENOLIS_SOFT_PATH/julia/$JULIA_VER/bin/julia --color=yes -e 'using Coverage; Codecov.submit(process_folder())';
fi
# deploy documentation
- if [[ "$ARCH" == "Linux" && "$JENKINS_PULL_REQUEST" != "True" ]]; then
export TRAVIS_BRANCH=$GIT_BRANCH;
export TRAVIS_PULL_REQUEST=false;
var=$GIT_URL; export TRAVIS_REPO_SLUG=${var:8:${#var}};
export TRAVIS_OS_NAME=$label;
export TRAVIS_JULIA_VERSION=$JULIA_VER;
cd $CURRENT_DIR;
$ARTENOLIS_SOFT_PATH/julia/$JULIA_VER/bin/julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()';
$ARTENOLIS_SOFT_PATH/julia/$JULIA_VER/bin/julia --project=docs/ docs/make.jl;
fi
after_script:
# clean up the build directory
- cd .. && rm -rf GigaSOM