https://github.com/JuliaDiffEq/DiffEqFlux.jl
Revision 164aa78b1dfeb5dd46b1906cd91fb5ef0c01cba7 authored by Christopher Rackauckas on 03 March 2020, 19:21:59 UTC, committed by GitHub on 03 March 2020, 19:21:59 UTC
1 parent ed3ec4b
Raw File
Tip revision: 164aa78b1dfeb5dd46b1906cd91fb5ef0c01cba7 authored by Christopher Rackauckas on 03 March 2020, 19:21:59 UTC
Update Project.toml
Tip revision: 164aa78
.gitlab-ci.yml
image: "julia:1"

variables:
  JULIA_DEPOT_PATH: "$CI_PROJECT_DIR/.julia/"
  JULIA_NUM_THREADS: '8'
  JULIA_CUDA_VERBOSE: 'true'

cache:
  paths:
    - .julia/

build:
  stage: build
  tags:
    - 'p6000'
  script:
    - curl https://julialang-s3.julialang.org/bin/linux/x64/1.3/julia-1.3.1-linux-x86_64.tar.gz -o julia.tar.gz
    - unp julia.tar.gz
    - export PATH="$(pwd)/julia-1.3.1/bin:$PATH"
    - julia -e "using InteractiveUtils;
                versioninfo()"
    - julia --project -e "using Pkg;
                          Pkg.update();
                          Pkg.instantiate();"
  only:
  - master
  - tags
  - external
  - pushes
  artifacts:
    untracked: true
    paths:
      - .julia/**/*
      - julia-1.3.1/**/*

test-GPU:
  stage: test
  tags:
    - 'p6000'
  dependencies:
    - build
  variables:
    GROUP: "GPU"
  script:
    - export PATH="$(pwd)/julia-1.3.1/bin:$PATH"
    - julia -e "using InteractiveUtils;
                versioninfo()"
    - julia --project -e "using Pkg; Pkg.add(\"CuArrays\");
                          Pkg.test(\"DiffEqFlux\"; coverage=true);"
  only:
  - master
  - tags
  - external
  - pushes
  artifacts:
    untracked: true
    paths:
      - .julia/**/*
      - julia-1.3.1/**/*
back to top