aboutsummaryrefslogtreecommitdiff
path: root/.circleci/config.yml
blob: 1d55aadf8ebbd47b8f03daf30cc649eab7c9c7bc (plain)
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
version: 2
jobs:
  dendrite:
    docker:
      - image: matrixdotorg/sytest-dendrite
    working_directory: /src
    steps:
      - checkout

      # Set up dendrite
      - run: 
          name: Build Dendrite
          command: ./build.sh
      - run: 
          name: Copy dummy keys to root
          command: |
            mv .circleci/matrix_key.pem .
            mv .circleci/server.key .
      - run:
          name: Run sytest with whitelisted tests
          command: /dendrite_sytest.sh

      - store_artifacts:
          path: /logs
          destination: logs
      - store_test_results:
          path: /logs
workflows:
  version: 2
  build:
    jobs:
      - dendrite:
          filters:
            branches:
              only: master