.gitlab-ci.yml 760 Bytes
Newer Older
1

Laurent's avatar
Laurent committed
2
variables:
3
  MYSQL_HOST: localhost__bokeh_mysql5
4 5
  MYSQL_DATABASE: "bokeh_build_${CI_BUILD_REF}"
  MYSQL_ROOT_PASSWORD: root
Laurent's avatar
Laurent committed
6

7
test:php5_latest:
8
  image: localhost:5000/bokeh_php5
9 10
  services:
    - localhost:5000/bokeh_mysql5
VINOT Gaël's avatar
VINOT Gaël committed
11
  script:
12 13
    - bash scripts/ci_data_preparation.sh $MYSQL_DATABASE $MYSQL_HOST $MYSQL_ROOT_PASSWORD
    - bash build.sh $MYSQL_DATABASE root $MYSQL_ROOT_PASSWORD $MYSQL_HOST
14 15 16
  except:
    - tags
  tags:
17 18
    - docker

19 20 21 22
test:php7_latest:
  image: localhost:5000/bokeh_php7
  services:
    - localhost:5000/bokeh_mysql5
23
  script:
24 25
    - bash scripts/ci_data_preparation.sh $MYSQL_DATABASE $MYSQL_HOST $MYSQL_ROOT_PASSWORD
    - bash build.sh $MYSQL_DATABASE root $MYSQL_ROOT_PASSWORD $MYSQL_HOST
26 27
  except:
    - tags
28 29
  tags:
    - docker