Browse Source

Fix CircleCI again

I think I got it this time...
pull/48/head
Steven vanZyl 3 months ago
parent
commit
9e254ee1ee
2 changed files with 20 additions and 17 deletions
  1. 17
    16
      .circleci/config.yml
  2. 3
    1
      .dockerignore

+ 17
- 16
.circleci/config.yml View File

@@ -3,22 +3,23 @@ version: 2
3 3
 jobs:
4 4
   build:
5 5
     docker:
6
-    - image: rust:nightly
7
-  steps:
8
-    - checkout
9
-    - restore_cache:
10
-        key: observatory-cache
6
+      - image: rust:nightly
11 7
 
12
-    - run:
13
-        name: Nightly Build
14
-        command: cargo build --all
8
+    steps:
9
+      - checkout
10
+      - restore_cache:
11
+          key: observatory-cache
15 12
 
16
-    - run:
17
-        name: Unit Tests
18
-        command: cargo test --all
13
+      - run:
14
+          name: Nightly Build
15
+          command: "cargo build --all"
19 16
 
20
-    - save_cache:
21
-      key: observatory-cache
22
-      paths:
23
-        - "~/.cargo"
24
-        - "./target"
17
+      - run:
18
+          name: Unit Tests
19
+          command: "cargo test --all"
20
+
21
+      - save_cache:
22
+          key: observatory-cache
23
+          paths:
24
+            - "~/.cargo"
25
+            - "./target"

+ 3
- 1
.dockerignore View File

@@ -1,6 +1,8 @@
1 1
 # Unwanted folders
2 2
 target/
3
+scripts/
3 4
 .git/
5
+.circleci/
4 6
 
5 7
 # Dockerfile
6 8
 Dockerfile
@@ -17,4 +19,4 @@ Cargo.lock
17 19
 *.dbk
18 20
 
19 21
 # dotenv config
20
-.env
22
+.env

Loading…
Cancel
Save